mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
array size is length
This commit is contained in:
parent
f967ffca0a
commit
e8bb362868
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ Item {
|
||||||
onNetworkOperatorsChanged : {
|
onNetworkOperatorsChanged : {
|
||||||
console.log("operators :"+netreg.currentOperator["Name"].toString())
|
console.log("operators :"+netreg.currentOperator["Name"].toString())
|
||||||
}
|
}
|
||||||
modemPath: ofonoManager.modems.count ? ofonoManager.modems[0] : ""
|
modemPath: ofonoManager.modems.length ? ofonoManager.modems[0] : ""
|
||||||
function updateStrengthIcon() {
|
function updateStrengthIcon() {
|
||||||
if (netreg.strength >= 100) {
|
if (netreg.strength >= 100) {
|
||||||
strengthIcon.source = "network-mobile-100";
|
strengthIcon.source = "network-mobile-100";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue