From c3996d0dc64b0815968a86d44866d9fe45de731b Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Thu, 11 Feb 2010 15:59:08 +1000 Subject: Fix QmlEngine offlineStoragePath test. --- tests/auto/declarative/qmlengine/tst_qmlengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v0.12