[Pkg-owncloud-commits] [owncloud-client] 134/164: FolderMan: fix folderSyncStateChange emission. #2896

Sandro Knauß hefee-guest at moszumanska.debian.org
Sun Mar 22 11:57:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit d0f07ee3a98db39d3b9be9e18c15949d11c7b126
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Thu Mar 12 09:58:30 2015 +0100

    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.
---
 src/gui/folderman.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index 91c5c4e..0c70b2a 100644
--- 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);
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list