summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmldebug/tst_qmldebug.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-08 03:51:58 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-08 03:51:58 (GMT)
commit8569659ae74091d174fbf55ea3b4897b5a8f477d (patch)
treea9761db66717eb3b8068a67e0dd5a4b3626a3622 /tests/auto/declarative/qmldebug/tst_qmldebug.cpp
parentac84b4382c4ba5c81ad48c6774ce0dda74cfd83f (diff)
downloadQt-8569659ae74091d174fbf55ea3b4897b5a8f477d.zip
Qt-8569659ae74091d174fbf55ea3b4897b5a8f477d.tar.gz
Qt-8569659ae74091d174fbf55ea3b4897b5a8f477d.tar.bz2
Use QUrl::fromLocalFile() instead of "file://" (i.e. only 2 slashes).
Was causing some test failures on Windows.
Diffstat (limited to 'tests/auto/declarative/qmldebug/tst_qmldebug.cpp')
-rw-r--r--tests/auto/declarative/qmldebug/tst_qmldebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmldebug/tst_qmldebug.cpp b/tests/auto/declarative/qmldebug/tst_qmldebug.cpp
index 785d55f..7615f9b 100644
--- a/tests/auto/declarative/qmldebug/tst_qmldebug.cpp
+++ b/tests/auto/declarative/qmldebug/tst_qmldebug.cpp
@@ -580,7 +580,7 @@ void tst_QmlDebug::queryObject()
// check source as defined in main()
QmlDebugFileReference source = obj.source();
- QCOMPARE(source.url(), QUrl("file://"));
+ QCOMPARE(source.url(), QUrl::fromLocalFile(""));
QCOMPARE(source.lineNumber(), 2);
QCOMPARE(source.columnNumber(), 1);