Commit bf434825 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Colors KCM] Don't explicitly reload KWin's configuration

* KWin watches decoration palette changes on its own.
* When Plasma changes its colorscheme it will send new background contrast information to KWin anyway.
* plasma-integration listens to color scheme changes and updates the QApplication palette,

Differential Revision: https://phabricator.kde.org/D23567
parent 973306c7
...@@ -443,12 +443,6 @@ void KCMColors::saveColors() ...@@ -443,12 +443,6 @@ void KCMColors::saveColors()
}); });
QDBusConnection::sessionBus().send(message); QDBusConnection::sessionBus().send(message);
if (KWindowSystem::isPlatformX11()) {
// Send signal to all kwin instances
QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KWin"), QStringLiteral("org.kde.KWin"), QStringLiteral("reloadConfig"));
QDBusConnection::sessionBus().send(message);
}
m_selectedSchemeDirty = false; m_selectedSchemeDirty = false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment