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:
authorOlivier Goffart <ogoffart@woboq.com>2015-04-27 20:09:48 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-04-27 20:09:48 +0300
commitf81918173b1bf7d2c513e7344e19c1bc0404f7b9 (patch)
tree85bffbf105f41a2b01a1b9e0293d5f190c028625 /src/gui/folderstatusmodel.h
parent4006bcdaed4e26176328a9311e25b51da5cafc77 (diff)
Account settings: show the folder of the right account
Diffstat (limited to 'src/gui/folderstatusmodel.h')
-rw-r--r--src/gui/folderstatusmodel.h5
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();