Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOleksii Lysenko <lysenkoalexmail@gmail.com>2021-06-15 15:46:23 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-15 17:44:11 +0300
commit0fe2442c109b2ce6ef4ef0535bb9783572a70443 (patch)
treeb69b44cac9cbe2a48780b563110f6fa99daf0cfd /test
parent42acdcc304b3284c8c5c1bfc601e96bed8fdab72 (diff)
Replaced QFileInfo(file).exists() with a static QFileInfo::exists(file)
Diffstat (limited to 'test')
-rw-r--r--test/testsyncengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp
index e5d45950c..1ee5bdb84 100644
--- a/test/testsyncengine.cpp
+++ b/test/testsyncengine.cpp
@@ -600,7 +600,7 @@ private slots:
// We can't depend on currentLocalState for hidden files since
// it should rightfully skip things like download temporaries
auto localFileExists = [&](QString name) {
- return QFileInfo(fakeFolder.localPath() + name).exists();
+ return QFileInfo::exists(fakeFolder.localPath() + name);
};
fakeFolder.syncEngine().setIgnoreHiddenFiles(true);