Skip to content
Snippets Groups Projects
Commit d47b9dbd authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix

parent 67fd552f
No related branches found
No related tags found
No related merge requests found
...@@ -221,8 +221,14 @@ bool SystemHandler::applyKdeIcon(const QString &themeName) const ...@@ -221,8 +221,14 @@ bool SystemHandler::applyKdeIcon(const QString &themeName) const
<< "c.writeEntry('Theme', '" + themeName + "');"; << "c.writeEntry('Theme', '" + themeName + "');";
if (setConfigWithPlasmaShell(script)) { if (setConfigWithPlasmaShell(script)) {
QProcess::startDetached("kquitapp5 plasmashell"); auto iconChangedMessage = QDBusMessage::createSignal("/KIconLoader", "org.kde.KIconLoader", "iconChanged");
QProcess::startDetached("kstart5 plasmashell"); iconChangedMessage.setArguments(QVariantList() << QVariant(qint32(0)));
QDBusConnection::sessionBus().send(iconChangedMessage);
auto notifyChangeMessage = QDBusMessage::createSignal("/KGlobalSettings", "org.kde.KGlobalSettings", "notifyChange");
notifyChangeMessage.setArguments(QVariantList() << QVariant(qint32(4)) << QVariant(qint32(0)));
QDBusConnection::sessionBus().send(notifyChangeMessage);
return true; return true;
} }
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment