From 9e590f51706c3cde3215702c14a394834578377b Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 25 Aug 2019 21:45:56 +0200 Subject: [PATCH] kdevplatform/language: use QLatin1String with == GIT_SILENT --- kdevplatform/language/codegen/codedescriptionmetatypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdevplatform/language/codegen/codedescriptionmetatypes.h b/kdevplatform/language/codegen/codedescriptionmetatypes.h index 69b9ffc372..947dc87dd7 100644 --- a/kdevplatform/language/codegen/codedescriptionmetatypes.h +++ b/kdevplatform/language/codegen/codedescriptionmetatypes.h @@ -25,11 +25,11 @@ #include #define GRANTLEE_LOOKUP_PROPERTY(name) \ - if (property == QStringLiteral(# name)) \ + if (property == QLatin1String(# name)) \ return QVariant::fromValue(object.name); #define GRANTLEE_LOOKUP_LIST_PROPERTY(name) \ - if (property == QStringLiteral(# name)) \ + if (property == QLatin1String(# name)) \ return QVariant::fromValue(KDevelop::CodeDescription::toVariantList(object.name)); GRANTLEE_BEGIN_LOOKUP(KDevelop::VariableDescription) -- GitLab