summaryrefslogtreecommitdiffstats
path: root/src/core/aspects
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-11 19:38:28 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-11 19:39:01 +0200
commitdf779e0e743020d53c4bf629d781851714e26552 (patch)
treea18d97306366d767b4984831c1a20b1674510d97 /src/core/aspects
parent0d740567cac4b3be17f1f3facaddc2974dfba3e7 (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 'src/core/aspects')
-rw-r--r--src/core/aspects/qaspectengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/aspects/qaspectengine.cpp b/src/core/aspects/qaspectengine.cpp
index 3f219597e..222c4c2af 100644
--- a/src/core/aspects/qaspectengine.cpp
+++ b/src/core/aspects/qaspectengine.cpp
@@ -381,9 +381,9 @@ QVariant QAspectEngine::executeCommand(const QString &command)
{
Q_D(QAspectEngine);
- if (command == QLatin1Literal("list aspects")) {
+ if (command == QLatin1String("list aspects")) {
if (d->m_aspects.isEmpty())
- return QLatin1Literal("No loaded aspect");
+ return QLatin1String("No loaded aspect");
QString reply;
reply += QLatin1String("Loaded aspects:");