summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch b/redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
new file mode 100644
index 000000000..b52e51188
--- /dev/null
+++ b/redhat/tdebase/kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
@@ -0,0 +1,20 @@
+commit 0afb2d8a78d212568f6836dd0e7d41382cfb991d
+Author: Slávek Banko <slavek.banko@axis.cz>
+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"));