summaryrefslogtreecommitdiffstats
path: root/tests/auto/proxy_multiprocess/server/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/proxy_multiprocess/server/main.cpp')
-rw-r--r--tests/auto/proxy_multiprocess/server/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/proxy_multiprocess/server/main.cpp b/tests/auto/proxy_multiprocess/server/main.cpp
index 1cd005d..1e8f107 100644
--- a/tests/auto/proxy_multiprocess/server/main.cpp
+++ b/tests/auto/proxy_multiprocess/server/main.cpp
@@ -52,7 +52,7 @@ private Q_SLOTS:
subclass.setI(initialI);
QStringListModel model;
model.setStringList(QStringList() << "Track1" << "Track2" << "Track3");
- if (objectMode == QLatin1Literal("ObjectPointer")) {
+ if (objectMode == QLatin1String("ObjectPointer")) {
parent.setSubClass(&subclass);
parent.setTracks(&model);
parent.setMyEnum(ParentClassSource::bar);
@@ -82,7 +82,7 @@ private Q_SLOTS:
updatedSubclass.setMyPOD(updatedValue);
updatedSubclass.setI(updatedI);
parent.setSubClass(&updatedSubclass);
- if (objectMode == QLatin1Literal("NullPointer"))
+ if (objectMode == QLatin1String("NullPointer"))
parent.setTracks(&model);
parent.setMyEnum(ParentClassSource::foobar);
parent.setDate(Qt::SystemLocaleLongDate);