diff options
author | Christian Kamm <mail@ckamm.de> | 2018-08-30 18:55:24 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:58:12 +0300 |
commit | 60de1c9720fd281ed9e47421d23662671267a752 (patch) | |
tree | 117c2409bebfae556daf7566f882d8f811359386 /src/gui/folderwizard.cpp | |
parent | 251e01a4407354023e37ab64f355e18149af93e6 (diff) |
virtual files: show option only when branding allows it
Diffstat (limited to 'src/gui/folderwizard.cpp')
-rw-r--r-- | src/gui/folderwizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwizard.cpp b/src/gui/folderwizard.cpp index a1efa3b09..47603ed50 100644 --- a/src/gui/folderwizard.cpp +++ b/src/gui/folderwizard.cpp @@ -494,7 +494,7 @@ FolderWizardSelectiveSync::FolderWizardSelectiveSync(const AccountPtr &account) _selectiveSync = new SelectiveSyncWidget(account, this); layout->addWidget(_selectiveSync); - if (ConfigFile().showExperimentalOptions()) { + if (Theme::instance()->showVirtualFilesOption()) { _virtualFilesCheckBox = new QCheckBox(tr("Use virtual files instead of downloading content immediately (experimental)")); connect(_virtualFilesCheckBox, &QCheckBox::clicked, this, &FolderWizardSelectiveSync::virtualFilesCheckboxClicked); connect(_virtualFilesCheckBox, &QCheckBox::stateChanged, this, [this](int state) { |