Commit c1c51c8b authored by Cedric Bellegarde's avatar Cedric Bellegarde
Browse files

BUG:313091 Init OnLeft buttons as option is empty by default

parent db68f1db
......@@ -438,7 +438,7 @@ void KCMStyle::save()
if (style == "ButtonVertical") {
KConfig _kwinConfig("kwinrc", KConfig::NoGlobals);
KConfigGroup kwinConfig(&_kwinConfig, "Style");
QString buttonsOnLeft = kwinConfig.readEntry("ButtonsOnLeft", "");
QString buttonsOnLeft = kwinConfig.readEntry("ButtonsOnLeft", "MS");
QString buttonsOnRight = kwinConfig.readEntry("ButtonsOnRight", "IMX");
qDebug() << buttonsOnLeft << buttonsOnRight;
if (!buttonsOnLeft.contains("N") && !buttonsOnRight.contains("N")) {
......
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