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:
Klaas Freitag 2013-01-25 11:29:45 +01:00
parent d780055b0e
commit 4fac62560e

View File

@ -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 ) {