summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorBoris Barbulovski <bbarbulovski@gmail.com>2016-11-30 14:57:52 -0800
committerMichal Marek <mmarek@suse.com>2016-12-11 21:39:25 +0100
commite039303ff71a0fd89d009a24b1eab230ce907288 (patch)
tree8bcdbfaa04c184f5718d923eda97cea61ad6faa4 /scripts/kconfig
parent79e51b5c2deea542b3bb8c66e0d502230b017dde (diff)
downloadlinux-e039303ff71a0fd89d009a24b1eab230ce907288.tar.gz
linux-e039303ff71a0fd89d009a24b1eab230ce907288.tar.bz2
linux-e039303ff71a0fd89d009a24b1eab230ce907288.zip
xconfig: fix 'Show Debug' functionality
xconfig - Fix missing 'Show Debug' functionality. xconfig Help mentions 'Show Debug Info' but it was missing from any menu. * Add 'Show debug' menu to the main menu. * Properly load showDebug settings. Reported-by: Jason Vas Dias <jason.vas.dias@gmail.com> Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/qconf.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index fc5555992220..45e3169e8ee1 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1014,7 +1014,7 @@ ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name)
if (!objectName().isEmpty()) {
configSettings->beginGroup(objectName());
- _showDebug = configSettings->value("/showDebug", false).toBool();
+ setShowDebug(configSettings->value("/showDebug", false).toBool());
configSettings->endGroup();
connect(configApp, SIGNAL(aboutToQuit()), SLOT(saveSettings()));
}
@@ -1474,6 +1474,7 @@ ConfigMainWindow::ConfigMainWindow(void)
optionMenu->addSeparator();
optionMenu->addActions(optGroup->actions());
optionMenu->addSeparator();
+ optionMenu->addAction(showDebugAction);
// create help menu
menu->addSeparator();