Commit b59af69b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[startplasma] Pass actual variable to kapplymousetheme

Found this while debugging something.

Differential Revision: https://phabricator.kde.org/D24823
parent a1cf305f
......@@ -148,7 +148,7 @@ void setupCursor(bool wayland)
}
//TODO: consider linking directly
const int applyMouseStatus = wayland ? 0 : runSync(QStringLiteral("kapplymousetheme"), { QStringLiteral("kcminputrc_mouse_cursortheme"), QStringLiteral("kcminputrc_mouse_cursorsize") });
const int applyMouseStatus = wayland ? 0 : runSync(QStringLiteral("kapplymousetheme"), { kcminputrc_mouse_cursortheme, kcminputrc_mouse_cursorsize });
if (applyMouseStatus == 10) {
qputenv("XCURSOR_THEME", "breeze_cursors");
} else if (!kcminputrc_mouse_cursortheme.isEmpty()) {
......
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