diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-14 14:10:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 10:10:05 +0200 |
commit | 10cd7743aa8c30fc3a5f8485ba4c4aad6bb5365e (patch) | |
tree | 4498b82fc104cf4e675241412d147de61147ed55 /examples/bluetooth/picturetransfer/main.cpp | |
parent | de750dc7971b3dfda350b5602501b6215ef3da8d (diff) |
Utilize QStringLiteral where possible
The only exception are generated files and cases where
QLatin1String based overloads are used (e.g. during QString comparisons)
Change-Id: I6f36789fb8acb3b30c1dc1f8a920b118a979d74f
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'examples/bluetooth/picturetransfer/main.cpp')
-rw-r--r-- | examples/bluetooth/picturetransfer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/picturetransfer/main.cpp b/examples/bluetooth/picturetransfer/main.cpp index 7db3053e..cad9c66c 100644 --- a/examples/bluetooth/picturetransfer/main.cpp +++ b/examples/bluetooth/picturetransfer/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char *argv[]) QStandardPaths::standardLocations(QStandardPaths::PicturesLocation).first()); qDebug() << QStandardPaths::standardLocations(QStandardPaths::PicturesLocation); - view.setSource(QUrl(QLatin1String("qrc:/bttransfer.qml"))); + view.setSource(QUrl(QStringLiteral("qrc:/bttransfer.qml"))); view.setResizeMode(QQuickView::SizeRootObjectToView); QObject::connect(view.engine(), SIGNAL(quit()), qApp, SLOT(quit())); view.show(); |