[Pkg-owncloud-commits] [owncloud-client] 52/121: Fix the Qt4 build

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Jul 28 15:31:57 UTC 2016


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 5d71ad83ece9daea2d6c0d99451d1b8a46ec8aa6
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Tue Jun 21 12:03:52 2016 +0200

    Fix the Qt4 build
    
    QSharedPointer::reset doesn't exist in Qt4.
---
 src/libsync/account.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/account.cpp b/src/libsync/account.cpp
index 99b1d5f..510dfd3 100644
--- a/src/libsync/account.cpp
+++ b/src/libsync/account.cpp
@@ -131,7 +131,7 @@ void Account::setCredentials(AbstractCredentials *cred)
         jar = _am->cookieJar();
         jar->setParent(0);
 
-        _am.reset();
+        _am = QSharedPointer<QNetworkAccessManager>();
     }
 
     // The order for these two is important! Reading the credential's

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