summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-12-14 20:47:34 +0100
committerSlávek Banko <[email protected]>2013-12-14 20:47:34 +0100
commit6523942e553ef2854f32b245aaffa49b743beac7 (patch)
treeea49c179f39422aaa70b1a567b97de0fd6f871af
parent0230e38665822bc60d04bfba482165fea655c211 (diff)
downloadtdebase-6523942e553ef2854f32b245aaffa49b743beac7.tar.gz
tdebase-6523942e553ef2854f32b245aaffa49b743beac7.zip
Fix saving kicker settins in wrong section
-rw-r--r--kcontrol/kicker/menutab_impl.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp
index 5ba9dd54f..571365a55 100644
--- a/kcontrol/kicker/menutab_impl.cpp
+++ b/kcontrol/kicker/menutab_impl.cpp
@@ -229,10 +229,13 @@ void MenuTab::save()
}
}
c->writeEntry("Extensions", ext);
- c->setGroup("General");
+ c->setGroup("General");
bool kmenusetting = m_comboMenuStyle->currentItem()==1;
bool oldkmenusetting = c->readBoolEntry("LegacyKMenu", true);
+ c->writeEntry("LegacyKMenu", kmenusetting);
+ c->writeEntry("OpenOnHover", m_openOnHover->isChecked());
+ c->sync();
c->setGroup("KMenu");
bool oldmenutextenabledsetting = c->readBoolEntry("ShowText", true);
@@ -241,10 +244,6 @@ void MenuTab::save()
c->setGroup("buttons");
TQFont oldmenufontsetting = c->readFontEntry("Font");
- c->writeEntry("LegacyKMenu", kmenusetting);
- c->writeEntry("OpenOnHover", m_openOnHover->isChecked());
- c->sync();
-
if (kmenusetting != oldkmenusetting) {
forceRestart = true;
}