summaryrefslogtreecommitdiffstats
path: root/src/nfc/qqmlndefrecord.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-05-14 14:10:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-15 10:10:05 +0200
commit10cd7743aa8c30fc3a5f8485ba4c4aad6bb5365e (patch)
tree4498b82fc104cf4e675241412d147de61147ed55 /src/nfc/qqmlndefrecord.cpp
parentde750dc7971b3dfda350b5602501b6215ef3da8d (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 'src/nfc/qqmlndefrecord.cpp')
-rw-r--r--src/nfc/qqmlndefrecord.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nfc/qqmlndefrecord.cpp b/src/nfc/qqmlndefrecord.cpp
index c94578eb..3a8934c1 100644
--- a/src/nfc/qqmlndefrecord.cpp
+++ b/src/nfc/qqmlndefrecord.cpp
@@ -186,11 +186,11 @@ static QString urnForRecordType(QNdefRecord::TypeNameFormat typeNameFormat, cons
{
switch (typeNameFormat) {
case QNdefRecord::NfcRtd:
- return QLatin1String("urn:nfc:wkt:") + QString::fromLatin1(type);
+ return QStringLiteral("urn:nfc:wkt:") + QString::fromLatin1(type);
case QNdefRecord::ExternalRtd:
- return QLatin1String("urn:nfc:ext:") + QString::fromLatin1(type);
+ return QStringLiteral("urn:nfc:ext:") + QString::fromLatin1(type);
case QNdefRecord::Mime:
- return QLatin1String("urn:nfc:mime:") + QString::fromLatin1(type);
+ return QStringLiteral("urn:nfc:mime:") + QString::fromLatin1(type);
default:
return QString();
}