Commit dff0b0a6 authored by Jan Grulich's avatar Jan Grulich
Browse files

Fix crash

Do not declare local modem network
parent a1ec57ad
......@@ -455,7 +455,6 @@ void ConnectionIcon::setModemIcon(const NetworkManager::Device::Ptr & device)
ModemManager::Modem::Ptr m_modemNetwork;
ModemManager::ModemDevice::Ptr modem = ModemManager::findModemDevice(device->udi());
if (modem) {
if (modem->hasInterface(ModemManager::ModemDevice::ModemInterface)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment