diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/shared/shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/shared/shared.h b/examples/quick/shared/shared.h index 5cf1333c02..1376459ae7 100644 --- a/examples/quick/shared/shared.h +++ b/examples/quick/shared/shared.h @@ -50,7 +50,7 @@ app.setApplicationName(QFileInfo(app.applicationFilePath()).baseName());\ QQuickView view;\ view.connect(view.engine(), SIGNAL(quit()), &app, SLOT(quit()));\ - view.engine()->setUrlInterceptor(new QQmlFileSelector(&view));\ + new QQmlFileSelector(view.engine(), &view);\ view.setSource(QUrl("qrc:///" #NAME ".qml")); \ view.setResizeMode(QQuickView::SizeRootObjectToView);\ if (QGuiApplication::platformName() == QLatin1String("qnx") || \ |