[Pkg-owncloud-commits] [owncloud-client] 132/211: Fix compile error and add warning.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:37 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 04b62b139de71ebf1e197a8d38293cd256a1c68b
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Oct 20 17:10:34 2014 +0200
Fix compile error and add warning.
---
src/mirall/socketapi.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp
index bd9a172..c5e3c93 100644
--- a/src/mirall/socketapi.cpp
+++ b/src/mirall/socketapi.cpp
@@ -390,7 +390,7 @@ SqlQuery* SocketApi::getSqlQuery( Folder *folder )
QString dbFileName = folder->journalDb()->databaseFilePath();
QFileInfo fi(dbFileName);
- if( fi.exists(dbFileName) ) {
+ if( fi.exists() ) {
SqlDatabase *db = new SqlDatabase;
if( db->open(dbFileName) ) {
@@ -405,6 +405,8 @@ SqlQuery* SocketApi::getSqlQuery( Folder *folder )
_dbQueries.insert( folder, query);
return query;
}
+ } else {
+ qDebug() << Q_FUNC_INFO << "Journal to query does not yet exist.";
}
return 0;
}
--
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