aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlplatform.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-05-06 13:37:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-06 19:12:57 +0200
commitf1d22063a4791627cb5d0844f3dc161d25321b6d (patch)
treef1e7a37cf4c475422d18893cead482c14c8b1bef /src/qml/qml/qqmlplatform.cpp
parent090cae9e69aeb531c47c616b67a285f409faca4d (diff)
QQmlPlatform: use QStringLiteral instead of QLatin1String
Change-Id: I83fb44c0bb7d57bc68c6ac54379d5bb0c7ec9715 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlplatform.cpp')
-rw-r--r--src/qml/qml/qqmlplatform.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/qml/qml/qqmlplatform.cpp b/src/qml/qml/qqmlplatform.cpp
index 37895cf2a1..8ee4a542de 100644
--- a/src/qml/qml/qqmlplatform.cpp
+++ b/src/qml/qml/qqmlplatform.cpp
@@ -60,27 +60,27 @@ QQmlPlatform::~QQmlPlatform()
QString QQmlPlatform::os()
{
#if defined(Q_OS_ANDROID)
- return QLatin1String("android");
+ return QStringLiteral("android");
#elif defined(Q_OS_BLACKBERRY)
- return QLatin1String("blackberry");
+ return QStringLiteral("blackberry");
#elif defined(Q_OS_IOS)
- return QLatin1String("ios");
+ return QStringLiteral("ios");
#elif defined(Q_OS_MAC)
- return QLatin1String("osx");
+ return QStringLiteral("osx");
#elif defined(Q_OS_WINCE)
- return QLatin1String("wince");
+ return QStringLiteral("wince");
#elif defined(Q_OS_WINPHONE)
return QStringLiteral("winphone");
#elif defined(Q_OS_WINRT)
return QStringLiteral("winrt");
#elif defined(Q_OS_WIN)
- return QLatin1String("windows");
+ return QStringLiteral("windows");
#elif defined(Q_OS_LINUX)
- return QLatin1String("linux");
+ return QStringLiteral("linux");
#elif defined(Q_OS_UNIX)
- return QLatin1String("unix");
+ return QStringLiteral("unix");
#else
- return QLatin1String("unknown");
+ return QStringLiteral("unknown");
#endif
}