diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-11 19:38:28 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-11 19:39:01 +0200 |
commit | df779e0e743020d53c4bf629d781851714e26552 (patch) | |
tree | a18d97306366d767b4984831c1a20b1674510d97 /tests/auto/core | |
parent | 0d740567cac4b3be17f1f3facaddc2974dfba3e7 (diff) |
Replace QLatin1Literal with QLatin1String
QLatin1Literal is an undocumented and deprecated typedef
for QLatin1String, just use the original.
Change-Id: Id6a813ed5c0a457f003dbd118b64f77d9d82cb13
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/core')
-rw-r--r-- | tests/auto/core/qaspectengine/tst_qaspectengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/core/qaspectengine/tst_qaspectengine.cpp b/tests/auto/core/qaspectengine/tst_qaspectengine.cpp index 94519f5e5..eb20536e6 100644 --- a/tests/auto/core/qaspectengine/tst_qaspectengine.cpp +++ b/tests/auto/core/qaspectengine/tst_qaspectengine.cpp @@ -92,7 +92,7 @@ private: \ \ QVariant executeCommand(const QStringList &args) override \ { \ - if (args.size() >= 2 && args.first() == QLatin1Literal("echo")) { \ + if (args.size() >= 2 && args.first() == QLatin1String("echo")) { \ QStringList list = args; \ list.removeFirst(); \ return QString("%1 said '%2'").arg(metaObject()->className()).arg(list.join(QLatin1Char(' '))); \ |