diff options
author | Christian Kamm <mail@ckamm.de> | 2017-11-29 14:04:01 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2017-12-07 16:38:21 +0300 |
commit | 7ab127ad53311b2a43cb17894e17e45a5451b7cb (patch) | |
tree | 2e51da208c2dfcf6695225b2f6c1cad655de8e3e /src/gui/selectivesyncdialog.h | |
parent | dd91f4a86ef83893b5c5260d5148246f7fc2be2d (diff) |
Excludes: Refactor for pending improvements
Make ExcludedFiles something that is instantiated outside of
the CSYNC context and then given to it as a hook.
ExcludedFiles still lives in csync_exclude and the internal
workings haven't been touched.
Diffstat (limited to 'src/gui/selectivesyncdialog.h')
-rw-r--r-- | src/gui/selectivesyncdialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/selectivesyncdialog.h b/src/gui/selectivesyncdialog.h index 15e4d7d33..a67f419a7 100644 --- a/src/gui/selectivesyncdialog.h +++ b/src/gui/selectivesyncdialog.h @@ -17,6 +17,8 @@ #include <QTreeWidget> #include "accountfwd.h" +#include "csync_exclude.h" + class QTreeWidgetItem; class QTreeWidget; class QNetworkReply; @@ -72,6 +74,10 @@ private: QLabel *_loading; QTreeWidget *_folderTree; + + // During account setup we want to filter out excluded folders from the + // view without having a Folder.SyncEngine.ExcludedFiles instance. + ExcludedFiles _excludedFiles; }; /** |