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-17 21:14:34 +0300
committerTomaz Canabrava <tcanabrava@kde.org>2017-12-17 21:14:34 +0300
commit7ef2489f1d2c00b4a58ec2eb027320dfe4ba0ac2 (patch)
treee4a678e804f1396c3a80a8be0427420acdc55856 /src/gui/folderstatusmodel.h
parentce41e3e42ff3c3cbf3f639e9f57dbe08717dac42 (diff)
[CSE] Fix infoForFileId
We need to traverse the path recursivelly.
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 d981617a3..4de1451f9 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;
+ SubFolderInfo *infoForFileId(const QByteArray &fileId, SubFolderInfo *info = nullptr) const;
// If the selective sync check boxes were changed
bool isDirty() { return _dirty; }