summaryrefslogtreecommitdiff
path: root/package/config/qconf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/qconf.cc')
-rw-r--r--package/config/qconf.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/config/qconf.cc b/package/config/qconf.cc
index 512c2f5c3..f2a23a9c3 100644
--- a/package/config/qconf.cc
+++ b/package/config/qconf.cc
@@ -1182,7 +1182,7 @@ void ConfigInfoView::contentsContextMenuEvent(QContextMenuEvent *e)
Parent::contentsContextMenuEvent(e);
}
-ConfigSearchWindow::ConfigSearchWindow(QWidget* parent, const char *name)
+ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow* parent, const char *name)
: Parent(parent, name), result(NULL)
{
setCaption("Search Config");
@@ -1206,6 +1206,9 @@ ConfigSearchWindow::ConfigSearchWindow(QWidget* parent, const char *name)
info = new ConfigInfoView(split, name);
connect(list->list, SIGNAL(menuChanged(struct menu *)),
info, SLOT(setInfo(struct menu *)));
+ connect(list->list, SIGNAL(menuChanged(struct menu *)),
+ parent, SLOT(setMenuLink(struct menu *)));
+
layout1->addWidget(split);
if (name) {