diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-12-14 16:39:07 +0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2017-12-14 16:39:07 +0300 |
commit | 82c07236c1368cc0fedd71936f0d89b19d64070f (patch) | |
tree | 799109fc5ea60bc6a38ccd1791bdc8321b8020cb /src/gui/folderstatusmodel.h | |
parent | c592871f9469e4798a18fd3fced82d9b843b84cd (diff) |
[CSE] Add new method "infoForFolderId"
we need to query the model for the subfolderinfo, but we don't
have the model index, we have the folder id. this returns it.
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r-- | src/gui/folderstatusmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderstatusmodel.h b/src/gui/folderstatusmodel.h index 4b6a82915..d981617a3 100644 --- a/src/gui/folderstatusmodel.h +++ b/src/gui/folderstatusmodel.h @@ -120,7 +120,7 @@ public: FetchLabel }; ItemType classify(const QModelIndex &index) const; SubFolderInfo *infoForIndex(const QModelIndex &index) const; - + SubFolderInfo *infoForFileId(const QByteArray &fileId) const; // If the selective sync check boxes were changed bool isDirty() { return _dirty; } |