mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Manages new cases introduced in ModemManager 1.20
This commit is contained in:
parent
edb8c91d66
commit
d79274cbe7
1 changed files with 10 additions and 0 deletions
|
|
@ -287,6 +287,10 @@ QString ModemDetails::stateFailedReason()
|
|||
return i18n("SIM is required but missing.");
|
||||
case MM_MODEM_STATE_FAILED_REASON_SIM_ERROR:
|
||||
return i18n("SIM is available but unusable.");
|
||||
case MM_MODEM_STATE_FAILED_REASON_UNKNOWN_CAPABILITIES:
|
||||
return i18n("Unknown modem capabilities.");
|
||||
case MM_MODEM_STATE_FAILED_REASON_ESIM_WITHOUT_PROFILES:
|
||||
return i18n("eSIM is not initialized.");
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
|
@ -508,6 +512,12 @@ AvailableNetwork::AvailableNetwork(QObject *parent,
|
|||
case MM_MODEM_ACCESS_TECHNOLOGY_ANY:
|
||||
m_accessTechnology = i18n("Any");
|
||||
break;
|
||||
case MM_MODEM_ACCESS_TECHNOLOGY_LTE_CAT_M:
|
||||
m_accessTechnology = i18n("4G");
|
||||
break;
|
||||
case MM_MODEM_ACCESS_TECHNOLOGY_LTE_NB_IOT:
|
||||
m_accessTechnology = i18n("4G");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue