[Pkg-owncloud-commits] [owncloud-client] 38/83: Fix crash when aborting

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 31 11:31:41 UTC 2014


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 99cead68f5fd3f2aede09d3aff0893812b51be97
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon May 26 12:23:25 2014 +0200

    Fix crash when aborting
    
    When aborting, the slotFinished will destroy all the Jobs, but they need
    one more even loop to finish cleanups
    
    Fixes #1793
---
 src/mirall/syncengine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index 035843f..3dcfcf5 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -580,7 +580,7 @@ void SyncEngine::slotUpdateFinished(int updateResult)
     connect(_propagator.data(), SIGNAL(progress(SyncFileItem,quint64)),
             this, SLOT(slotProgress(SyncFileItem,quint64)));
     connect(_propagator.data(), SIGNAL(adjustTotalTransmissionSize(qint64)), this, SLOT(slotAdjustTotalTransmissionSize(qint64)));
-    connect(_propagator.data(), SIGNAL(finished()), this, SLOT(slotFinished()));
+    connect(_propagator.data(), SIGNAL(finished()), this, SLOT(slotFinished()), Qt::QueuedConnection);
 
     setNetworkLimits();
 

-- 
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