@@ -564,7 +564,16 @@ Item {
564 active: serverChecked
564 active: serverChecked
565 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
565 secure: getExtendedProperty(extendedData, "xCanonicalWifiApIsSecure", false)
566 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
566 adHoc: getExtendedProperty(extendedData, "xCanonicalWifiApIsAdhoc", false)
567− signalStrength: strengthAction.valid ? strengthAction.state : 0
568+ if (strengthAction.valid) {
569+ var state = strengthAction.state; // handle both int and uchar
570+ if (typeof state == "string") {
571+ return state.charCodeAt();
568 highlightWhenPressed: false
577 highlightWhenPressed: false
570 onMenuModelChanged: {
579 onMenuModelChanged: {