summaryrefslogtreecommitdiffstats
path: root/tests/auto/restart/server/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/restart/server/main.cpp')
-rw-r--r--tests/auto/restart/server/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/restart/server/main.cpp b/tests/auto/restart/server/main.cpp
index b65dc17..f4e83a5 100644
--- a/tests/auto/restart/server/main.cpp
+++ b/tests/auto/restart/server/main.cpp
@@ -47,7 +47,7 @@ private Q_SLOTS:
SubClassSimpleSource subclass;
QStringListModel model;
const MyPOD initialValue(42, 3.14f, QStringLiteral("SubClass"));
- if (objectMode == QLatin1Literal("ObjectPointer")) {
+ if (objectMode == QLatin1String("ObjectPointer")) {
subclass.setMyPOD(initialValue);
model.setStringList(QStringList() << "Track1" << "Track2" << "Track3");
myTestServer.setSubClass(&subclass);
@@ -66,9 +66,9 @@ private Q_SLOTS:
QTest::qWait(200);
qDebug() << "Client connected";
- if (runMode != QLatin1Literal("Baseline")) {
+ if (runMode != QLatin1String("Baseline")) {
qDebug() << "Server quitting" << runMode;
- if (runMode == QLatin1Literal("ServerRestartFatal"))
+ if (runMode == QLatin1String("ServerRestartFatal"))
qFatal("Fatal");
QCoreApplication::exit();
return;