Add folder to schedule queue in setupFolders method.

This fixes bug #1352
This commit is contained in:
Klaas Freitag 2014-01-20 15:44:58 +01:00
parent a6b0ccfa12
commit 0eebc0e5be

View file

@ -88,6 +88,7 @@ int FolderMan::unloadAllFolders()
cnt++;
}
_currentSyncFolder.clear();
_scheduleQueue.clear();
return cnt;
}
@ -149,7 +150,7 @@ int FolderMan::setupFolders()
Folder *f = setupFolderFromConfigFile( alias );
if( f ) {
registerFolderMonitor(f);
slotScheduleSync(alias);
emit( folderSyncStateChange( f->alias() ) );
}
}