@@ -564,7 +564,16 @@ Item {
564564 active: serverChecked
565565 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
566566 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
567− signalStrength: strengthAction.valid ? strengthAction.state : 0
567+ signalStrength: {
568+ if (strengthAction.valid) {
569+ var state = strengthAction.state; // handle both int and uchar
570+ if (typeof state == "string") {
571+ return state.charCodeAt();
572+ }
573+ return state;
574+ }
575+ return 0;
576+ }
568577 highlightWhenPressed: false
569578
570579 onMenuModelChanged: {