Skip to content

Commit

Permalink
Sync Folder: Add file manager favorite also in folder wizard #455
Browse files Browse the repository at this point in the history
Not only in the account wizard.
  • Loading branch information
guruz committed Aug 4, 2017
1 parent 4aad318 commit 20a9791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/accountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/gui/owncloudsetupwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 20a9791

Please sign in to comment.