aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bellegarde <gnumdk@gmail.com>2013-01-12 09:10:03 (GMT)
committerCedric Bellegarde <gnumdk@gmail.com>2013-01-12 09:10:03 (GMT)
commitc1c51c8b467b28aa17f31cf20627a7770172792d (patch)
treea6ca4d8388cf2b2a811bd149c64b75284cdec4ef
parentdb68f1db8975ee09b321382e58fc2978b6f7856c (diff)
BUG:313091 Init OnLeft buttons as option is empty by default
-rw-r--r--kcontrol/style/kcmstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp
index 4d2eb55..7410cf8 100644
--- a/kcontrol/style/kcmstyle.cpp
+++ b/kcontrol/style/kcmstyle.cpp
@@ -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")) {