Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaz Canabrava <tcanabrava@kde.org>2017-12-14 16:39:07 +0300
committerTomaz Canabrava <tcanabrava@kde.org>2017-12-14 16:39:07 +0300
commit82c07236c1368cc0fedd71936f0d89b19d64070f (patch)
tree799109fc5ea60bc6a38ccd1791bdc8321b8020cb /src/gui/folderstatusmodel.h
parentc592871f9469e4798a18fd3fced82d9b843b84cd (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.h2
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; }