summaryrefslogtreecommitdiffstats
path: root/examples/positioning/weatherinfo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/positioning/weatherinfo/main.cpp')
-rw-r--r--examples/positioning/weatherinfo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/positioning/weatherinfo/main.cpp b/examples/positioning/weatherinfo/main.cpp
index 6afcf1c4..fd2ef9fc 100644
--- a/examples/positioning/weatherinfo/main.cpp
+++ b/examples/positioning/weatherinfo/main.cpp
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
//! [0]
qRegisterMetaType<WeatherData>("WeatherData");
//! [1]
- const QString mainQmlApp = QLatin1String("qrc:///weatherinfo.qml");
+ const QString mainQmlApp = QStringLiteral("qrc:///weatherinfo.qml");
QQuickView view;
view.setSource(QUrl(mainQmlApp));
view.setResizeMode(QQuickView::SizeRootObjectToView);