From 42326f6ded4bcef88d4cb74cd733e867c95cd0c5 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 8 Sep 2019 21:18:18 +0200 Subject: [PATCH] GIT_SILENT: QLatin1Literal->QLatin1String --- plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +- plugins/qpa/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kdecorations/aurorae/src/aurorae.cpp b/plugins/kdecorations/aurorae/src/aurorae.cpp index fd246fe1c4..fd723a8402 100644 --- a/plugins/kdecorations/aurorae/src/aurorae.cpp +++ b/plugins/kdecorations/aurorae/src/aurorae.cpp @@ -126,7 +126,7 @@ static const int s_indexMapper = 2; QQmlComponent *Helper::component(const QString &themeName) { // maybe it's an SVG theme? - if (themeName.startsWith(QLatin1Literal("__aurorae__svg__"))) { + if (themeName.startsWith(QLatin1String("__aurorae__svg__"))) { if (m_svgComponent.isNull()) { /* use logic from KDeclarative::setupBindings(): "addImportPath adds the path at the beginning, so to honour user's diff --git a/plugins/qpa/main.cpp b/plugins/qpa/main.cpp index d13e5823c9..76ff3f83cd 100644 --- a/plugins/qpa/main.cpp +++ b/plugins/qpa/main.cpp @@ -34,7 +34,7 @@ public: QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList ¶mList) { Q_UNUSED(paramList) - if (!QCoreApplication::applicationFilePath().endsWith(QLatin1Literal("kwin_wayland")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) { + if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) { // Not KWin return nullptr; }