array size is length

This commit is contained in:
diaulas 2014-11-09 12:41:29 +01:00
parent f967ffca0a
commit e8bb362868

View file

@ -137,7 +137,7 @@ Item {
onNetworkOperatorsChanged : {
console.log("operators :"+netreg.currentOperator["Name"].toString())
}
modemPath: ofonoManager.modems.count ? ofonoManager.modems[0] : ""
modemPath: ofonoManager.modems.length ? ofonoManager.modems[0] : ""
function updateStrengthIcon() {
if (netreg.strength >= 100) {
strengthIcon.source = "network-mobile-100";