summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-11 05:59:08 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-11 05:59:08 (GMT)
commitc3996d0dc64b0815968a86d44866d9fe45de731b (patch)
treea643f0e75223a90fbff0c62e5d9b294531bd60a6 /tests
parent4684e5af8fd7ebd5a6dff45fc18e5ea7a9b60bc6 (diff)
downloadQt-c3996d0dc64b0815968a86d44866d9fe45de731b.zip
Qt-c3996d0dc64b0815968a86d44866d9fe45de731b.tar.gz
Qt-c3996d0dc64b0815968a86d44866d9fe45de731b.tar.bz2
Fix QmlEngine offlineStoragePath test.
Diffstat (limited to 'tests')
-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());