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")); }