diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-02-06 14:02:42 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2015-02-06 14:27:54 +0300 |
commit | 0d2fb0754c178208d159be7fb77b491cc6a97fe9 (patch) | |
tree | b09d3077534833934547b0109162d5f33dc65e27 /src/gui/selectivesyncdialog.h | |
parent | dbca7469f2ffc42e88a83cae5c0fe8591bf36374 (diff) |
Wizard: Fix the advanced setup page when the theme has a defaultServerFolder
Especially the selective sync dialog
Task #2788
Diffstat (limited to 'src/gui/selectivesyncdialog.h')
-rw-r--r-- | src/gui/selectivesyncdialog.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/selectivesyncdialog.h b/src/gui/selectivesyncdialog.h index 05752e5e8..79c0d6e96 100644 --- a/src/gui/selectivesyncdialog.h +++ b/src/gui/selectivesyncdialog.h @@ -38,12 +38,7 @@ public: // oldBlackList is a list of excluded paths, each including a trailing / void setFolderInfo(const QString &folderPath, const QString &rootName, - const QStringList &oldBlackList = QStringList()) { - _folderPath = folderPath; - _rootName = rootName; - _oldBlackList = oldBlackList; - refreshFolders(); - } + const QStringList &oldBlackList = QStringList()); QSize sizeHint() const Q_DECL_OVERRIDE; private slots: @@ -67,7 +62,7 @@ public: explicit SelectiveSyncDialog(AccountPtr account, Folder *folder, QWidget* parent = 0, Qt::WindowFlags f = 0); // Dialog for the whole account (Used from the wizard) - explicit SelectiveSyncDialog(AccountPtr account, const QStringList &blacklist, QWidget* parent = 0, Qt::WindowFlags f = 0); + explicit SelectiveSyncDialog(AccountPtr account, const QString &folder, const QStringList &blacklist, QWidget* parent = 0, Qt::WindowFlags f = 0); virtual void accept() Q_DECL_OVERRIDE; |