summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/menutab_impl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-14 16:55:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-14 16:55:33 -0600
commitd7defbb78cad4aeddb7be0fbe36f93624c62a5d9 (patch)
treefbde4d98c35b2f470cf3dc1f7ee8c5980e51bb30 /kcontrol/kicker/menutab_impl.cpp
parentf534a63b03828cb81eaaf676a404bfa862a4e0c1 (diff)
parent6523942e553ef2854f32b245aaffa49b743beac7 (diff)
downloadtdebase-d7defbb78cad4aeddb7be0fbe36f93624c62a5d9.tar.gz
tdebase-d7defbb78cad4aeddb7be0fbe36f93624c62a5d9.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kcontrol/kicker/menutab_impl.cpp')
-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;
}