mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Removed remove of list of configured sync folder on reconfiguration.
The removal of the configured folders was needed as long as the csync journal was based in on the folder name of the sync folder. Now that every folder has its own sync journal its not longer needed.
This commit is contained in:
parent
d780055b0e
commit
4fac62560e
@ -89,12 +89,10 @@ void OwncloudSetupWizard::slotAssistantFinished( int result )
|
||||
qDebug() << "Rejected the new config, use the old!";
|
||||
} else if( result == QDialog::Accepted ) {
|
||||
qDebug() << "Config Changes were accepted!";
|
||||
|
||||
// save the user credentials and afterwards clear the cred store.
|
||||
cfg.acceptCustomConfig();
|
||||
|
||||
// wipe all folder definitions so far.
|
||||
if( _folderMan ) _folderMan->removeAllFolderDefinitions();
|
||||
|
||||
// Now write the resulting folder definition if folder names are set.
|
||||
if( !( _localFolder.isEmpty() || _remoteFolder.isEmpty() ) ) { // both variables are set.
|
||||
if( _folderMan ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user