summaryrefslogtreecommitdiff
path: root/tests/auto/qplacereply
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qplacereply')
-rw-r--r--tests/auto/qplacereply/tst_qplacereply.cpp4
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);