aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/kconfig/qconf.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 338bdea96541..f5628c57640b 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -798,7 +798,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
798 QAction *action; 798 QAction *action;
799 799
800 headerPopup = new QPopupMenu(this); 800 headerPopup = new QPopupMenu(this);
801 action = new QAction("Show Name", 0, this); 801 action = new QAction(NULL, "Show Name", 0, this);
802 action->setToggleAction(TRUE); 802 action->setToggleAction(TRUE);
803 connect(action, SIGNAL(toggled(bool)), 803 connect(action, SIGNAL(toggled(bool)),
804 parent(), SLOT(setShowName(bool))); 804 parent(), SLOT(setShowName(bool)));
@@ -806,7 +806,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
806 action, SLOT(setOn(bool))); 806 action, SLOT(setOn(bool)));
807 action->setOn(showName); 807 action->setOn(showName);
808 action->addTo(headerPopup); 808 action->addTo(headerPopup);
809 action = new QAction("Show Range", 0, this); 809 action = new QAction(NULL, "Show Range", 0, this);
810 action->setToggleAction(TRUE); 810 action->setToggleAction(TRUE);
811 connect(action, SIGNAL(toggled(bool)), 811 connect(action, SIGNAL(toggled(bool)),
812 parent(), SLOT(setShowRange(bool))); 812 parent(), SLOT(setShowRange(bool)));
@@ -814,7 +814,7 @@ void ConfigList::contextMenuEvent(QContextMenuEvent *e)
814 action, SLOT(setOn(bool))); 814 action, SLOT(setOn(bool)));
815 action->setOn(showRange); 815 action->setOn(showRange);
816 action->addTo(headerPopup); 816 action->addTo(headerPopup);
817 action = new QAction("Show Data", 0, this); 817 action = new QAction(NULL, "Show Data", 0, this);
818 action->setToggleAction(TRUE); 818 action->setToggleAction(TRUE);
819 connect(action, SIGNAL(toggled(bool)), 819 connect(action, SIGNAL(toggled(bool)),
820 parent(), SLOT(setShowData(bool))); 820 parent(), SLOT(setShowData(bool)));
@@ -1161,7 +1161,7 @@ void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char
1161QPopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos) 1161QPopupMenu* ConfigInfoView::createPopupMenu(const QPoint& pos)
1162{ 1162{
1163 QPopupMenu* popup = Parent::createPopupMenu(pos); 1163 QPopupMenu* popup = Parent::createPopupMenu(pos);
1164 QAction* action = new QAction("Show Debug Info", 0, popup); 1164 QAction* action = new QAction(NULL,"Show Debug Info", 0, popup);
1165 action->setToggleAction(TRUE); 1165 action->setToggleAction(TRUE);
1166 connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool))); 1166 connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool)));
1167 connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool))); 1167 connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool)));