mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
FolderMan: fix folderSyncStateChange emission. #2896
It was not emitted when a removed folder finished its sync, and that left the UI in an old state sometimes. Removing the Folder explicitly is unnecessary as a QSignalMapper will automatically remove mappings for deleted QObjects.
This commit is contained in:
parent
3992fba168
commit
d0f07ee3a9
1 changed files with 0 additions and 1 deletions
|
@ -106,7 +106,6 @@ void FolderMan::unloadFolder( const QString& alias )
|
|||
_socketApi->slotUnregisterPath(alias);
|
||||
}
|
||||
|
||||
_folderChangeSignalMapper->removeMappings(f);
|
||||
if( _folderWatchers.contains(alias)) {
|
||||
_folderWatchers.remove(alias);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue