From 4fac62560e47ba5d7612accc07416ad5ebce9b26 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 25 Jan 2013 11:29:45 +0100 Subject: [PATCH] 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. --- src/mirall/owncloudsetupwizard.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mirall/owncloudsetupwizard.cpp b/src/mirall/owncloudsetupwizard.cpp index bfe96e6822..06ea2b6a24 100644 --- a/src/mirall/owncloudsetupwizard.cpp +++ b/src/mirall/owncloudsetupwizard.cpp @@ -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 ) {