From a82ffd53434080c962c756120e98f3e75c8d3cca Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 6 Dec 2015 11:00:35 +0100 Subject: [PATCH] Fix wrong QUrl construction from local file --- autotests/proxymodeltestapp/selectioninqmlwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/proxymodeltestapp/selectioninqmlwidget.cpp b/autotests/proxymodeltestapp/selectioninqmlwidget.cpp index 46d1c34..68e1d78 100644 --- a/autotests/proxymodeltestapp/selectioninqmlwidget.cpp +++ b/autotests/proxymodeltestapp/selectioninqmlwidget.cpp @@ -54,5 +54,5 @@ SelectionInQmlWidget::SelectionInQmlWidget(QWidget *parent): QWidget(parent) quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_model"), m_rootModel); quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_selectionModel"), selectionTree->selectionModel()); - quickView->setSource(QUrl(SRC_DIR "/selection.qml")); + quickView->setSource(QUrl::fromLocalFile(SRC_DIR "/selection.qml")); }