summaryrefslogtreecommitdiffstats
path: root/examples/positioning
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-05-14 14:34:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-15 14:57:31 +0200
commitcb424d26eac75a14316726b4687758fd10c85563 (patch)
tree9d1b96301734b8c20652607823bb6dacb63afff8 /examples/positioning
parent8922ae1ef4f0cb01c15632dfe19ed514e0d49dbe (diff)
Use QStringLiteral whereever possible
This replaces a lot of old QLatin1String cases Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'examples/positioning')
-rw-r--r--examples/positioning/flickr/qmllocationflickr.cpp2
-rw-r--r--examples/positioning/weatherinfo/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/positioning/flickr/qmllocationflickr.cpp b/examples/positioning/flickr/qmllocationflickr.cpp
index 8a3a29a3..6ecd727a 100644
--- a/examples/positioning/flickr/qmllocationflickr.cpp
+++ b/examples/positioning/flickr/qmllocationflickr.cpp
@@ -45,7 +45,7 @@
int main(int argc, char *argv[])
{
QGuiApplication application(argc, argv);
- const QString mainQmlApp = QLatin1String("qrc:///flickr.qml");
+ const QString mainQmlApp = QStringLiteral("qrc:///flickr.qml");
QQuickView view;
view.setSource(QUrl(mainQmlApp));
view.setResizeMode(QQuickView::SizeRootObjectToView);
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);