diff options
Diffstat (limited to 'examples/location/places/qmlplaceswrapper.cpp')
-rw-r--r-- | examples/location/places/qmlplaceswrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/location/places/qmlplaceswrapper.cpp b/examples/location/places/qmlplaceswrapper.cpp index 5856d8c9..88c5ee28 100644 --- a/examples/location/places/qmlplaceswrapper.cpp +++ b/examples/location/places/qmlplaceswrapper.cpp @@ -95,12 +95,12 @@ int main(int argc, char *argv[]) if (parseArgs(args, parameters)) return 0; - const QString mainQmlApp = QLatin1String("qrc:///places.qml"); + const QString mainQmlApp = QStringLiteral("qrc:///places.qml"); QQuickView view; - view.engine()->addImportPath(QLatin1String(":/imports")); + view.engine()->addImportPath(QStringLiteral(":/imports")); - view.rootContext()->setContextProperty(QLatin1String("pluginParameters"), parameters); + view.rootContext()->setContextProperty(QStringLiteral("pluginParameters"), parameters); view.setSource(QUrl(mainQmlApp)); view.setResizeMode(QQuickView::SizeRootObjectToView); |