summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/declarative/qmlengine/tst_qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlengine/tst_qmlengine.cpp b/tests/auto/declarative/qmlengine/tst_qmlengine.cpp
index 1779c01..af8e44f 100644
--- a/tests/auto/declarative/qmlengine/tst_qmlengine.cpp
+++ b/tests/auto/declarative/qmlengine/tst_qmlengine.cpp
@@ -178,7 +178,7 @@ void tst_qmlengine::offlineStoragePath()
dir.mkpath("OfflineStorage");
dir.cd("OfflineStorage");
- QCOMPARE(engine.offlineStoragePath(), dir.path());
+ QCOMPARE(QDir::fromNativeSeparators(engine.offlineStoragePath()), dir.path());
engine.setOfflineStoragePath(QDir::homePath());
QCOMPARE(engine.offlineStoragePath(), QDir::homePath());