Fixed PopUpWindow
This commit is contained in:
@@ -13,6 +13,7 @@ QtObject {
|
||||
property string interfaceType: ""
|
||||
property string connectionName: ""
|
||||
property string ipv4: ""
|
||||
property string wifiName: ""
|
||||
property string signalStrength: ""
|
||||
property string wifiChannel: ""
|
||||
property string wifiFrequency: ""
|
||||
@@ -173,6 +174,7 @@ QtObject {
|
||||
if (wifiSection) {
|
||||
var wifiParts = wifiSection.split(" ")
|
||||
if (wifiParts.length >= 2) {
|
||||
root.wifiName = wifiParts[0] || ""
|
||||
root.signalStrength = wifiParts[1] || ""
|
||||
if (wifiParts.length >= 3) root.wifiChannel = wifiParts[2] || ""
|
||||
if (wifiParts.length >= 4) root.wifiFrequency = wifiParts[3] + " " + wifiParts[4] || ""
|
||||
|
||||
Reference in New Issue
Block a user