[PATCH 8/14]: wpa_gui-qt4: connect new Scan pushbutton to signal/slot pair

Kel Modderman kel at otaku42.de
Tue Jan 29 02:18:58 EST 2008


This is a clone of the Scan button present on the "Current Status" tab. It is
useful to have this shortcut on the "Manage Networks" tab too.

Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@ -68,6 +68,7 @@
 		SLOT(enableListedNetwork(bool)));
 	connect(disableRadioButton, SIGNAL(toggled(bool)), this,
 		SLOT(disableListedNetwork(bool)));
+	connect(scanNetworkButton, SIGNAL(clicked()), this, SLOT(scan()));
 
 	eh = NULL;
 	scanres = NULL;
---


More information about the HostAP mailing list