GIT_SILENT: QLatin1Literal->QLatin1String

This commit is contained in:
Laurent Montel 2019-09-08 21:18:18 +02:00
parent 37700113b2
commit 42326f6ded
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -34,7 +34,7 @@ public:
QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList &paramList)
{
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;
}