From 78feb5c8dc099b79e855db97ac96d7a2c33644c6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Sep 2010 07:16:55 +0000 Subject: Repair various KMenu side pixmap problems git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1178045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/kicker/menutab_impl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kcontrol') diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp index fa1b123e1..970aa10a1 100644 --- a/kcontrol/kicker/menutab_impl.cpp +++ b/kcontrol/kicker/menutab_impl.cpp @@ -233,6 +233,13 @@ void MenuTab::save() if (kmenusetting != oldkmenusetting) DCOPRef ("kicker", "default").call("restart()"); + c->setGroup("KMenu"); + bool sidepixmapsetting = kcfg_UseSidePixmap->isChecked(); + bool oldsidepixmapsetting = c->readBoolEntry("UseSidePixmap", true); + + if (sidepixmapsetting != oldsidepixmapsetting) + DCOPRef ("kicker", "default").call("restart()"); + // Save KMenu settings c->setGroup("KMenu"); c->writeEntry("CustomIcon", m_kmenu_icon); -- cgit v1.2.1