wpa_gui-qt4: silence compile warning + wpsTab enable/disable
[mech_eap.git] / wpa_supplicant / wpa_gui-qt4 / wpagui.cpp
index c993a85..3efdccb 100644 (file)
@@ -407,6 +407,7 @@ int WpaGui::openCtrlConnection(const char *ifname)
                QString res(buf);
                QStringList types = res.split(QChar(' '));
                actionWPS->setEnabled(types.contains("WSC"));
+               wpsTab->setEnabled(types.contains("WSC"));
        }
 
        return 0;