[PATCH 9/14]: wpa_gui-qt4: double click signal on network listbox spawns edit dialog

Kel Modderman kel
Mon Jan 28 23:19:37 PST 2008


Spawn the networkconfig form in edit mode for network in listbox that is
double clicked.

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
@@ -69,6 +69,8 @@
 	connect(disableRadioButton, SIGNAL(toggled(bool)), this,
 		SLOT(disableListedNetwork(bool)));
 	connect(scanNetworkButton, SIGNAL(clicked()), this, SLOT(scan()));
+	connect(networkList, SIGNAL(itemDoubleClicked(QListWidgetItem *)),
+		this, SLOT(editListedNetwork()));
 
 	eh = NULL;
 	scanres = NULL;
---



More information about the Hostap mailing list