[Pkg-owncloud-commits] [owncloud-client] 144/498: Fix Qt4 build
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:44 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 2296f6a4a5d556625d36804363615da3dc9db613
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Jun 12 08:09:13 2015 +0200
Fix Qt4 build
QSharedPointer::create with arguments is new in Qt5
---
src/gui/socketapi.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/socketapi.cpp b/src/gui/socketapi.cpp
index 1ac5b2e..722db7a 100644
--- a/src/gui/socketapi.cpp
+++ b/src/gui/socketapi.cpp
@@ -492,7 +492,7 @@ SqlQuery* SocketApi::getSqlQuery( Folder *folder )
if( db && db->openReadOnly(dbFileName) ) {
_openDbs.insert(folder, db);
- auto query = QSharedPointer<SqlQuery>::create(*db);
+ QSharedPointer<SqlQuery> query(new SqlQuery(*db));
rc = query->prepare(sql);
if( rc != SQLITE_OK ) {
--
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