summaryrefslogtreecommitdiffstats
path: root/examples/nfc/poster/qmlposter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nfc/poster/qmlposter.cpp')
-rw-r--r--examples/nfc/poster/qmlposter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nfc/poster/qmlposter.cpp b/examples/nfc/poster/qmlposter.cpp
index 2fc943d4..f6f3bbc8 100644
--- a/examples/nfc/poster/qmlposter.cpp
+++ b/examples/nfc/poster/qmlposter.cpp
@@ -45,7 +45,7 @@
int main(int argc, char *argv[])
{
QGuiApplication application(argc, argv);
- const QString mainQmlApp = QLatin1String("qrc:/poster.qml");
+ const QString mainQmlApp(QStringLiteral("qrc:/poster.qml"));
QQuickView view;
view.setSource(QUrl(mainQmlApp));
view.setResizeMode(QQuickView::SizeRootObjectToView);