aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index d04ed91d8..72f610364 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -5621,8 +5621,8 @@ void TestBlackbox::qbsSession()
} else if (msgType == "task-progress") {
receivedProgressData = true;
} else if (msgType == "command-description") {
- if (receivedMessage.value("message").toString().contains(
- QDir::separator() + QString("main.cpp"))) {
+ if (QDir::fromNativeSeparators(receivedMessage.value("message").toString())
+ .contains("/main.cpp")) {
receivedCommandDescription = true;
}
} else if (msgType == "process-result") {