Skip to content
GitLab
Menu
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
cfa7fa4f
Commit
cfa7fa4f
authored
Feb 10, 2022
by
Devin Lin
🎨
Browse files
mmplugin: Fix SIM being reported as locked when no sim is inserted
parent
62b6739d
Pipeline
#135984
passed with stage
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mmplugin/signalindicator.cpp
View file @
cfa7fa4f
...
...
@@ -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
.
Attach a 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