Fixed PopUpWindow

This commit is contained in:
Hannes
2026-06-19 15:55:51 +02:00
parent 52408627ef
commit 8888b84b0a
3 changed files with 22 additions and 9 deletions
@@ -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] || ""