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-18 17:41:17 +0300
committerHannah von Reth <vonreth@kde.org>2022-05-19 13:27:46 +0300
commit1b87c9eabc81570fbc41ede6a8b8c930243db9d9 (patch)
tree92957497076d48f1cb8d915023de656ccf15318e /src/gui/owncloudgui.cpp
parenta6910d6adad94e13c68c365b1dae2b9b232acfaa (diff)
Unpause sync before we schedule a sync
Fixes: #9691
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r--src/gui/owncloudgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 3ea0997a4..0a9bc39fe 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -64,6 +64,7 @@ void setUpInitialSyncFolder(AccountStatePtr accountStatePtr, bool useVfs)
auto finalize = [accountStatePtr] {
accountStatePtr->checkConnectivity();
+ FolderMan::instance()->setSyncEnabled(true);
FolderMan::instance()->scheduleAllFolders();
};
@@ -1029,7 +1030,6 @@ void ownCloudGui::runNewAccountWizard()
case Wizard::SyncMode::UseVfs: {
bool useVfs = syncMode == Wizard::SyncMode::UseVfs;
setUpInitialSyncFolder(accountStatePtr, useVfs);
- FolderMan::instance()->setSyncEnabled(true);
break;
}