From e8bb36286883a4076138cda32de7c3a04759a989 Mon Sep 17 00:00:00 2001 From: diaulas Date: Sun, 9 Nov 2014 12:41:29 +0100 Subject: [PATCH] array size is length --- shell/contents/views/Desktop.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/contents/views/Desktop.qml b/shell/contents/views/Desktop.qml index 209b9d08..60f1ee44 100644 --- a/shell/contents/views/Desktop.qml +++ b/shell/contents/views/Desktop.qml @@ -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";