mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Add folder to schedule queue in setupFolders method.
This fixes bug #1352
This commit is contained in:
parent
a6b0ccfa12
commit
0eebc0e5be
1 changed files with 2 additions and 1 deletions
|
@ -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() ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue