From: Masahiro Yamada Date: Wed, 23 Oct 2024 18:17:54 +0000 (+0900) Subject: kconfig: qconf: remove unnecessary lastWindowClosed() signal connection X-Git-Tag: v6.13-rc1~16^2~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=375a4f4ea719ad68e305373cfe0f77ecd1378531;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 120090fa4ac96..49a3d0365c39b 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();