Fixed PopUpWindow
This commit is contained in:
1 parent
52408627ef
commit
8888b84b0a
3 files changed
+22
-9
No files matched your search
@@ -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