diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-14 14:34:34 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 14:57:31 +0200 |
commit | cb424d26eac75a14316726b4687758fd10c85563 (patch) | |
tree | 9d1b96301734b8c20652607823bb6dacb63afff8 /tests/auto/qplacereply/tst_qplacereply.cpp | |
parent | 8922ae1ef4f0cb01c15632dfe19ed514e0d49dbe (diff) | |
download | qtlocation-cb424d26eac75a14316726b4687758fd10c85563.tar.gz |
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 'tests/auto/qplacereply/tst_qplacereply.cpp')
-rw-r--r-- | tests/auto/qplacereply/tst_qplacereply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qplacereply/tst_qplacereply.cpp b/tests/auto/qplacereply/tst_qplacereply.cpp index 491a6f1f..3a979886 100644 --- a/tests/auto/qplacereply/tst_qplacereply.cpp +++ b/tests/auto/qplacereply/tst_qplacereply.cpp @@ -106,9 +106,9 @@ void tst_QPlaceReply::errorTest() QCOMPARE(reply->error(), QPlaceReply::NoError); QCOMPARE(reply->errorString(), QString()); - reply->setError(QPlaceReply::CommunicationError, QLatin1String("Could not connect to server")); + reply->setError(QPlaceReply::CommunicationError, QStringLiteral("Could not connect to server")); QCOMPARE(reply->error(), QPlaceReply::CommunicationError); - QCOMPARE(reply->errorString(), QLatin1String("Could not connect to server")); + QCOMPARE(reply->errorString(), QStringLiteral("Could not connect to server")); reply->setError(QPlaceReply::NoError, QString()); QCOMPARE(reply->error(), QPlaceReply::NoError); |