aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/bug_456.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtDeclarative/bug_456.py')
-rw-r--r--tests/QtDeclarative/bug_456.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtDeclarative/bug_456.py b/tests/QtDeclarative/bug_456.py
index 178ea7d43..262b82e48 100644
--- a/tests/QtDeclarative/bug_456.py
+++ b/tests/QtDeclarative/bug_456.py
@@ -29,7 +29,7 @@ class TestConnectionWithInvalidSignature(TimedQApplication):
context = view.rootContext()
context.setContextProperty("rotatevalue", rotatevalue)
- view.setSource(adjust_filename('bug_456.qml', __file__))
+ view.setSource(QtCore.QUrl.fromLocalFile(adjust_filename('bug_456.qml', __file__)))
root = view.rootObject()
button = root.findChild(QtCore.QObject, "buttonMouseArea")
view.show()