summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/filesystemaccess_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/filesystemaccess_test.cpp')
-rw-r--r--src/plugins/remotelinux/filesystemaccess_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/filesystemaccess_test.cpp b/src/plugins/remotelinux/filesystemaccess_test.cpp
index b4fa54ce9b..fcc8477974 100644
--- a/src/plugins/remotelinux/filesystemaccess_test.cpp
+++ b/src/plugins/remotelinux/filesystemaccess_test.cpp
@@ -148,9 +148,9 @@ void FileSystemAccessTest::testDirStatus()
[&fileExists](const FilePath &filePath) {
if (filePath.baseName() == "test") {
fileExists = true;
- return true;
+ return IterationPolicy::Continue;
}
- return false;
+ return IterationPolicy::Stop;
},
{{"test"}, QDir::Files});