From: Markus Goetz Date: Thu, 3 Aug 2017 17:54:20 +0000 (+0200) Subject: Sync Folder: Add file manager favorite also in folder wizard #455 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~704^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=20a979173f648a134d97497165a71130861c9066;p=nextcloud-desktop.git Sync Folder: Add file manager favorite also in folder wizard #455 Not only in the account wizard. --- diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 392bd1efc..a5a5e105d 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -396,6 +396,7 @@ void AccountSettings::slotFolderWizardAccepted() } } FileSystem::setFolderMinimumPermissions(definition.localPath); + Utility::setupFavLink(definition.localPath); } /* take the value from the definition of already existing folders. All folders have diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index f124fa265..dcd510f78 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -383,6 +383,7 @@ void OwncloudSetupWizard::slotCreateLocalAndRemoteFolders(const QString &localFo bool nextStep = true; if (fi.exists()) { FileSystem::setFolderMinimumPermissions(localFolder); + Utility::setupFavLink(localFolder); // there is an existing local folder. If its non empty, it can only be synced if the // ownCloud is newly created. _ocWizard->appendToConfigurationLog(