projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3992fba
)
FolderMan: fix folderSyncStateChange emission. #2896
author
Christian Kamm
<kamm@incasoftware.de>
Thu, 12 Mar 2015 08:58:30 +0000
(09:58 +0100)
committer
Christian Kamm
<kamm@incasoftware.de>
Thu, 12 Mar 2015 09:00:45 +0000
(10:00 +0100)
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.
src/gui/folderman.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderman.cpp
b/src/gui/folderman.cpp
index 91c5c4e214830dd0082fa3c7361af9c2562923bd..0c70b2a745e5e0b1b29e19c84abee2c0ebe8de09 100644
(file)
--- a/
src/gui/folderman.cpp
+++ b/
src/gui/folderman.cpp
@@
-106,7
+106,6
@@
void FolderMan::unloadFolder( const QString& alias )
_socketApi->slotUnregisterPath(alias);
}
- _folderChangeSignalMapper->removeMappings(f);
if( _folderWatchers.contains(alias)) {
_folderWatchers.remove(alias);
}