diff options
author | Oleksii Lysenko <lysenkoalexmail@gmail.com> | 2021-06-15 15:46:23 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-15 17:44:11 +0300 |
commit | 0fe2442c109b2ce6ef4ef0535bb9783572a70443 (patch) | |
tree | b69b44cac9cbe2a48780b563110f6fa99daf0cfd /test | |
parent | 42acdcc304b3284c8c5c1bfc601e96bed8fdab72 (diff) |
Replaced QFileInfo(file).exists() with a static QFileInfo::exists(file)
Diffstat (limited to 'test')
-rw-r--r-- | test/testsyncengine.cpp | 2 |
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); |