summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-10-23 20:17:54 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-11-06 00:46:34 +0100
commit375a4f4ea719ad68e305373cfe0f77ecd1378531 (patch)
tree2294321f2e74d5a47fb7a021baea1b0f89a788d8 /scripts
parentkconfig: qconf: remove unnecessary setRootIsDecorated() call (diff)
downloadlinux-375a4f4ea719ad68e305373cfe0f77ecd1378531.tar.xz
linux-375a4f4ea719ad68e305373cfe0f77ecd1378531.zip
kconfig: qconf: remove unnecessary lastWindowClosed() signal connection
The default value of the quitOnLastWindowClosed property is true. Hence, the application implicitly quits when the last window is closed. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/qconf.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 120090fa4ac9..49a3d0365c39 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1863,7 +1863,6 @@ int main(int ac, char** av)
v = new ConfigMainWindow();
//zconfdump(stdout);
- configApp->connect(configApp, SIGNAL(lastWindowClosed()), SLOT(quit()));
configApp->connect(configApp, SIGNAL(aboutToQuit()), v, SLOT(saveSettings()));
v->show();