summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/filesystemaccess_test.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-01-21 12:22:54 +0100
committerhjk <hjk@qt.io>2022-01-26 13:13:41 +0000
commit1fc83d2a568dea3233212b351d6e9ffbc05c75e9 (patch)
treedb9cc36793eef961237f18ea1567baa7732be592 /src/plugins/remotelinux/filesystemaccess_test.cpp
parentc6fdb66b2bd5c1dd30220fb0e87d2fc2e0dc2615 (diff)
downloadqt-creator-1fc83d2a568dea3233212b351d6e9ffbc05c75e9.tar.gz
Utils: Wrap various file system iteration flags and filters
... into a single class. This makes passing them around as a whole easier, and opens a path to have "generic" filters in form of a lambda or such. Change-Id: Ibf644b2fedcf0f1a35258030710afff8f5873f88 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/filesystemaccess_test.cpp')
-rw-r--r--src/plugins/remotelinux/filesystemaccess_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/filesystemaccess_test.cpp b/src/plugins/remotelinux/filesystemaccess_test.cpp
index 5d45484a7d..603cd1b878 100644
--- a/src/plugins/remotelinux/filesystemaccess_test.cpp
+++ b/src/plugins/remotelinux/filesystemaccess_test.cpp
@@ -114,8 +114,7 @@ void FileSystemAccessTest::testDirStatuses()
}
return false;
},
- {"test"},
- QDir::Files);
+ {{"test"}, QDir::Files});
QVERIFY(fileExists);
QVERIFY(testFilePath.removeFile());