diff options
Diffstat (limited to 'src/menuhandler.cpp')
-rw-r--r-- | src/menuhandler.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/menuhandler.cpp b/src/menuhandler.cpp index 1728439..4894a0a 100644 --- a/src/menuhandler.cpp +++ b/src/menuhandler.cpp @@ -30,7 +30,6 @@ #include <tqcursor.h> #include <tqsplitter.h> #include <tdepopupmenu.h> -#include <tqobjectlist.h> #include <kdebug.h> #include <tqlabel.h> #include <time.h> @@ -482,6 +481,13 @@ void MenuHandler::updateConfig() KServiceGroup::Ptr service = KServiceGroup::root(); menu->rootList->clear(); populateList( service, menu->rootList, NULL, false ); + + TQListViewItemIterator it(menu->childList); + while (it.current()) { + TastyListViewItem *listItem = static_cast<TastyListViewItem *>(it.current()); + listItem->setDisplaySubText(_displaySubText); + ++it; + } } @@ -1676,6 +1682,7 @@ void MenuHandler::setBackground() rootPix->stop(); delete rootPix; rootPix = nullptr; + menu->unsetPalette(); } if (isTransparent()) { |