mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 09:18:07 +00:00
mmplugin: Fix apn added request being true when no sim is inserted
This commit is contained in:
parent
201ba6959d
commit
a2170b4b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ bool SignalIndicator::mobileDataEnabled() const
|
||||||
|
|
||||||
bool SignalIndicator::needsAPNAdded() const
|
bool SignalIndicator::needsAPNAdded() const
|
||||||
{
|
{
|
||||||
return m_nmModem && m_nmModem->availableConnections().count() == 0;
|
return m_nmModem && mobileDataSupported() && m_nmModem->availableConnections().count() == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SignalIndicator::setMobileDataEnabled(bool enabled)
|
void SignalIndicator::setMobileDataEnabled(bool enabled)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue