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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-06-11 16:46:01 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-06-11 16:46:01 +0300
commitcc3543dbd2c518abbc9c453d0812ba1aca92c380 (patch)
treedd6de8c2df4b0e5abc436ce2e33ac1d6dec4e05e /src/gui/folderstatusmodel.h
parent05ed126bfde236042dbf536b20d68b9d475afb59 (diff)
Confirm feature: The UI part in the selective sync view
Folder that are over the threshold will appear in red in the selective sync view and will be deselected by default
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 8989fc93f..cb9a8658e 100644
--- a/src/gui/folderstatusmodel.h
+++ b/src/gui/folderstatusmodel.h
@@ -46,15 +46,16 @@ public:
struct SubFolderInfo {
+ Folder *_folder = nullptr;
QString _name;
QString _path;
QVector<int> _pathIdx;
+ QVector<SubFolderInfo> _subs;
int _size = 0;
bool _fetched = false; // If we did the LSCOL for this folder already
bool _fetching = false;
- QVector<SubFolderInfo> _subs;
+ bool _isUndecided = false; // undecided folder are the big folder that the user has not accepted yet
Qt::CheckState _checked = Qt::Checked;
- Folder *_folder;
struct Progress {
bool isNull() const