[Pkg-owncloud-commits] [owncloud-client] 71/164: static member QFileInfo::exists is not available on 4.8
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sun Mar 22 11:56:55 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 51c617801d410b4abe857a4f662608c78714d5b6
Author: Roeland Jago Douma <roeland at famdouma.nl>
Date: Fri Feb 27 08:43:33 2015 +0100
static member QFileInfo::exists is not available on 4.8
---
src/libsync/filesystem.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp
index dcc1209..19d1c77 100644
--- a/src/libsync/filesystem.cpp
+++ b/src/libsync/filesystem.cpp
@@ -284,7 +284,8 @@ bool FileSystem::fileExists(const QString& filename)
return fileExistsWin(filename);
}
#endif
- return QFileInfo::exists(filename);
+ QFileInfo file(filename);
+ return file.exists();
}
bool FileSystem::fileExists(const QFileInfo& fi)
--
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