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

Kel Modderman kel at otaku42.de
Tue Jan 29 02:12:50 EST 2008


Connect the new Add pushbutton on Manage Networks tab to a signal/slot pair
to spawn networkconfig form for an additional network configuration.

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
@@ -57,6 +57,7 @@
 		SLOT(selectAdapter(const QString&)));
 	connect(networkSelect, SIGNAL(activated(const QString&)), this,
 		SLOT(selectNetwork(const QString&)));
+	connect(addNetworkButton, SIGNAL(clicked()), this, SLOT(addNetwork()));
 
 	eh = NULL;
 	scanres = NULL;
---


More information about the HostAP mailing list