[Pkg-owncloud-commits] [owncloud-client] 69/83: Fix another crash at exit

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 31 11:31:45 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 1dd7f736d0c0af977dd5c70d456abf340dfe8be3
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed May 28 19:59:35 2014 +0200

    Fix another crash at exit
    
    Fixes #1794
---
 src/mirall/networkjobs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/networkjobs.h b/src/mirall/networkjobs.h
index d109277..6f08343 100644
--- a/src/mirall/networkjobs.h
+++ b/src/mirall/networkjobs.h
@@ -101,7 +101,7 @@ private slots:
 private:
     QNetworkReply* addTimer(QNetworkReply *reply);
     bool _ignoreCredentialFailure;
-    QNetworkReply *_reply;
+    QPointer<QNetworkReply> _reply; // (QPointer because the NetworkManager may be destroyed before the jobs at exit)
     Account *_account;
     QString _path;
     QTimer _timer;

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