Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
5660a9e0
Commit
5660a9e0
authored
Feb 10, 2022
by
Devin Lin
🎨
Browse files
mmplugin: Fix SIM being reported as locked when no sim is inserted
parent
9cf37ea6
Pipeline
#135983
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mmplugin/signalindicator.cpp
View file @
5660a9e0
...
...
@@ -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_PIN
2
)
;
return
m_modem
->
unlockRequired
()
==
MM_MODEM_LOCK_SIM_PIN
;
}
bool
SignalIndicator
::
available
()
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment