indicators: do not needlessly scan again

When putting modem in online state it would already make it scan for
operator, we have no need to make it scan for operators again and waste
time for operation takes long time.
This commit is contained in:
Bhushan Shah 2021-05-14 14:57:35 +05:30
parent c9d1d737aa
commit 7bac59549d
2 changed files with 0 additions and 5 deletions

View file

@ -27,10 +27,6 @@ QtObject {
property OfonoManager ofonoManager: OfonoManager {}
property OfonoNetworkRegistration netreg: OfonoNetworkRegistration {
Component.onCompleted: {
netreg.scan()
}
modemPath: ofonoManager.modems.length ? ofonoManager.modems[0] : ""
}

View file

@ -31,7 +31,6 @@ Item {
OfonoNetworkRegistration {
id: netreg
Component.onCompleted: {
netreg.scan()
updateStrengthIcon()
}