GIT_SILENT: QLatin1Literal->QLatin1String
This commit is contained in:
parent
37700113b2
commit
42326f6ded
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue