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:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-05-19 15:35:07 +0300
committerHannah von Reth <vonreth@kde.org>2022-05-19 19:00:51 +0300
commitac75156cfe6f1e09c24988ef286240131d83a32d (patch)
tree22e3fe749ab1994307f7af2711f2aff3db48885d /src/gui/owncloudgui.cpp
parent1b87c9eabc81570fbc41ede6a8b8c930243db9d9 (diff)
FolderWizard use vfs with spaces
Fixes: #9649
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r--src/gui/owncloudgui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 0a9bc39fe..18469257d 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -1040,13 +1040,14 @@ void ownCloudGui::runNewAccountWizard()
folderWizard->resize(ocApp()->gui()->settingsDialog()->sizeHintForChild());
folderWizard->setAttribute(Qt::WA_DeleteOnClose);
+ // TODO: duplication of AccountSettings
// adapted from AccountSettings::slotFolderWizardAccepted()
connect(folderWizard, &QDialog::accepted, [accountStatePtr, folderWizard]() {
FolderMan *folderMan = FolderMan::instance();
qCInfo(lcApplication) << "Folder wizard completed";
- bool useVfs = folderWizard->property("useVirtualFiles").toBool();
+ const bool useVfs = folderWizard->useVirtualFiles();
auto folder = folderMan->addFolderFromWizard(accountStatePtr,
folderWizard->field(QLatin1String("sourceFolder")).toString(),