commit 0afb2d8a78d212568f6836dd0e7d41382cfb991d Author: Slávek Banko Date: 1341682699 +0200 Fix menu crash with disabled search field This resolves Bug 1081 diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp index b7cfe8f..702c921 100644 --- a/kicker/kicker/ui/k_mnu.cpp +++ b/kicker/kicker/ui/k_mnu.cpp @@ -273,6 +273,8 @@ void PanelKMenu::initialize() connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT( slotUpdateSearch( const TQString&))); insertItem(hbox, searchLineID, 0); + } else { + searchEdit = NULL; } //TQToolTip::add(clearButton, i18n("Clear Search"));