diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-12-17 21:14:34 +0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2017-12-17 21:14:34 +0300 |
commit | 7ef2489f1d2c00b4a58ec2eb027320dfe4ba0ac2 (patch) | |
tree | e4a678e804f1396c3a80a8be0427420acdc55856 /src/gui/folderstatusmodel.h | |
parent | ce41e3e42ff3c3cbf3f639e9f57dbe08717dac42 (diff) |
[CSE] Fix infoForFileId
We need to traverse the path recursivelly.
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 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; } |