[PATCH 3/14]: wpa_gui-qt4: populate network listbox on Manage Network tab

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


Populate the network listbox identically to that of the network selection
combobox.

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
@@ -440,6 +440,7 @@
 		return;
 
 	networkSelect->clear();
+	networkList->clear();
 
 	if (ctrl_conn == NULL)
 		return;
@@ -483,6 +484,7 @@
 		network.append(": ");
 		network.append(ssid);
 		networkSelect->addItem(network);
+		networkList->addItem(network);
 
 		if (strstr(flags, "[CURRENT]")) {
 			networkSelect->setCurrentIndex(networkSelect->count() -
---


More information about the HostAP mailing list