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:
authorChristian Kamm <mail@ckamm.de>2017-01-04 16:28:11 +0300
committerChristian Kamm <mail@ckamm.de>2017-01-13 12:52:39 +0300
commitaa6f041c36e16800a49a26639d1f0a9422461654 (patch)
tree5a8bfc345131c5754e57ba7feef14ca3d514550e /src/gui/folderwizard.cpp
parentdce3f8c4f6915b982ce7586be74f0921f314d5fc (diff)
wizardSelectiveSyncDefaultNothing applies to folder wizard #4581
Previous the Theme option only applied to the account setup wizard.
Diffstat (limited to 'src/gui/folderwizard.cpp')
-rw-r--r--src/gui/folderwizard.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/folderwizard.cpp b/src/gui/folderwizard.cpp
index f063dc920..b786591c0 100644
--- a/src/gui/folderwizard.cpp
+++ b/src/gui/folderwizard.cpp
@@ -500,7 +500,11 @@ void FolderWizardSelectiveSync::initializePage()
QString alias = QFileInfo(targetPath).fileName();
if (alias.isEmpty())
alias = Theme::instance()->appName();
- _selectiveSync->setFolderInfo(targetPath, alias);
+ QStringList initialBlacklist;
+ if (Theme::instance()->wizardSelectiveSyncDefaultNothing()) {
+ initialBlacklist = QStringList("/");
+ }
+ _selectiveSync->setFolderInfo(targetPath, alias, initialBlacklist);
QWizardPage::initializePage();
}