wpa_gui-qt4: clean up closeEvent handler
authorKel Modderman <kel@otaku42.de>
Wed, 1 Oct 2008 06:44:58 +0000 (09:44 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 1 Oct 2008 06:44:58 +0000 (09:44 +0300)
commit66897ae779173065b45d6d0bdc0e931bfd43c225
treec7db00a161c58381e2bee1f534d1d3a8026b3ae5
parent6241fcb165c940cc07ad4fa3b08cc64494d5ac95
wpa_gui-qt4: clean up closeEvent handler

When the system tray icon is created, qApp's setQuitOnLastWindowClosed
property is set to false, therefore do _not_ ignore widget close events, or
else wpa_gui will refuse to exit when the window manager is logging out.

While at it, remove WpaGui::fileExit() and connect fileExitAction to
quit().

Signed-off-by: Kel Modderman <kel@otaku42.de>
wpa_supplicant/wpa_gui-qt4/wpagui.cpp
wpa_supplicant/wpa_gui-qt4/wpagui.h