[PATCH 1/3]: wpa_gui-qt4: move new select any button

Kel Modderman kel
Thu Jan 24 15:01:02 PST 2008


This patch moves to the select any network button down to be with other
scan related buttons.

Also rename the label to "Select Any Known Network" to not give the idea it
may just connect to any random access point in area.

These 3 patches depend on the series of patch I sent last night.

Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- a/wpa_supplicant/wpa_gui-qt4/wpagui.ui
+++ b/wpa_supplicant/wpa_gui-qt4/wpagui.ui
@@ -71,13 +71,6 @@
          </property>
         </widget>
        </item>
-       <item row="4" column="0" colspan="2" >
-        <widget class="QPushButton" name="selectAnyNetworkButton" >
-         <property name="text" >
-          <string>Select Any Network</string>
-         </property>
-        </widget>
-       </item>
       </layout>
      </widget>
     </item>
@@ -198,14 +191,21 @@
       </property>
      </widget>
     </item>
-    <item row="4" column="0" >
+    <item row="4" column="0" colspan="2" >
+     <widget class="QPushButton" name="selectAnyNetworkButton" >
+      <property name="text" >
+       <string>Select Any Known Network</string>
+      </property>
+     </widget>
+    </item>
+    <item row="5" column="0" >
      <widget class="QPushButton" name="connectButton" >
       <property name="text" >
        <string>Connect</string>
       </property>
      </widget>
     </item>
-    <item row="4" column="1" >
+    <item row="5" column="1" >
      <widget class="QPushButton" name="disconnectButton" >
       <property name="text" >
        <string>Disconnect</string>
--- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@ -64,9 +64,9 @@
 		SLOT(enableNetwork()));
 	connect(disableNetworkButton, SIGNAL(clicked()), this,
 		SLOT(disableNetwork()));
+	connect(scanButton, SIGNAL(clicked()), this, SLOT(scan()));
 	connect(selectAnyNetworkButton, SIGNAL(clicked()), this,
 		SLOT(selectAnyNetwork()));
-	connect(scanButton, SIGNAL(clicked()), this, SLOT(scan()));
 	connect(connectButton, SIGNAL(clicked()), this, SLOT(reassociate()));
 	connect(disconnectButton, SIGNAL(clicked()), this, SLOT(disconnect()));
 
---



More information about the Hostap mailing list