diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-04-27 20:09:48 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2015-04-27 20:09:48 +0300 |
commit | f81918173b1bf7d2c513e7344e19c1bc0404f7b9 (patch) | |
tree | 85bffbf105f41a2b01a1b9e0293d5f190c028625 /src/gui/folderstatusmodel.h | |
parent | 4006bcdaed4e26176328a9311e25b51da5cafc77 (diff) |
Account settings: show the folder of the right account
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r-- | src/gui/folderstatusmodel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/folderstatusmodel.h b/src/gui/folderstatusmodel.h index 804f1f088..9658e477e 100644 --- a/src/gui/folderstatusmodel.h +++ b/src/gui/folderstatusmodel.h @@ -59,12 +59,13 @@ public: Folder *_folder; }; - mutable QVector<SubFolderInfo> _folders; + QVector<SubFolderInfo> _folders; enum ItemType { RootFolder, SubFolder, AddButton/*, SelectiveSyncText*/ }; ItemType classify(const QModelIndex &index) const; SubFolderInfo *infoForIndex(const QModelIndex &index) const; + // If the selective sync check boxes were changed bool isDirty() { return _dirty; } struct ProgressInfo { @@ -89,7 +90,7 @@ private: QStringList createBlackList(OCC::FolderStatusModel::SubFolderInfo* root, const QStringList& oldBlackList) const; AccountPtr _account; - bool _dirty = false; + bool _dirty = false; // If the selective sync checkboxes were changed signals: void dirtyChanged(); |