summaryrefslogtreecommitdiffstats
path: root/tests/auto/restart/client/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/restart/client/main.cpp')
-rw-r--r--tests/auto/restart/client/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/restart/client/main.cpp b/tests/auto/restart/client/main.cpp
index aa2cdd9..c520131 100644
--- a/tests/auto/restart/client/main.cpp
+++ b/tests/auto/restart/client/main.cpp
@@ -64,7 +64,7 @@ private Q_SLOTS:
qWarning() << "From client";
const MyPOD initialValue(42, 3.14f, QStringLiteral("SubClass"));
- if (objectMode == QLatin1Literal("ObjectPointer")) {
+ if (objectMode == QLatin1String("ObjectPointer")) {
QSignalSpy tracksSpy(m_rep->tracks(), &QAbstractItemModelReplica::initialized);
QVERIFY(m_rep->subClass() != nullptr);
QCOMPARE(m_rep->subClass()->myPOD(), initialValue);
@@ -79,7 +79,7 @@ private Q_SLOTS:
QSignalSpy advanceSpy(m_rep.data(), SIGNAL(advance()));
QVERIFY(advanceSpy.wait());
- if (objectMode == QLatin1Literal("ObjectPointer")) {
+ if (objectMode == QLatin1String("ObjectPointer")) {
QVERIFY(m_rep->subClass() != nullptr);
QCOMPARE(m_rep->subClass()->myPOD(), initialValue);
QVERIFY(m_rep->tracks() != nullptr);