mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
mmplugin: Fix SIM being reported as locked when no sim is inserted
This commit is contained in:
parent
9cf37ea66c
commit
5660a9e016
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ bool SignalIndicator::simLocked() const
|
|||
if (!m_modem) {
|
||||
return false;
|
||||
}
|
||||
return !(m_modem->unlockRequired() == MM_MODEM_LOCK_NONE || m_modem->unlockRequired() == MM_MODEM_LOCK_SIM_PIN2);
|
||||
return m_modem->unlockRequired() == MM_MODEM_LOCK_SIM_PIN;
|
||||
}
|
||||
|
||||
bool SignalIndicator::available() const
|
||||
|
|
|
|||
Loading…
Reference in a new issue