Setupwizard: Close the database in case of moving the folder.

This commit is contained in:
Klaas Freitag 2014-10-24 13:05:29 +02:00
parent 542e989046
commit a9d8e9dcd8

View file

@ -413,6 +413,7 @@ void OwncloudSetupWizard::slotAssistantFinished( int result )
if( f ) {
folderMan->setSyncEnabled(false);
folderMan->terminateSyncProcess(f->alias());
f->journalDb()->close();
}
bool isInitialSetup = (origAccount == 0);