Skip to content

Commit 375a4f4

Browse files
committed
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 <[email protected]>
1 parent ac84593 commit 375a4f4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/kconfig/qconf.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,6 @@ int main(int ac, char** av)
18631863
v = new ConfigMainWindow();
18641864

18651865
//zconfdump(stdout);
1866-
configApp->connect(configApp, SIGNAL(lastWindowClosed()), SLOT(quit()));
18671866
configApp->connect(configApp, SIGNAL(aboutToQuit()), v, SLOT(saveSettings()));
18681867

18691868
v->show();

0 commit comments

Comments
 (0)