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

Kel Modderman kel
Mon Jan 28 23:18:58 PST 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