Commit 344b2be3 authored by Lukáš Tinkl's avatar Lukáš Tinkl
Browse files

remove unused code

parent 227d91c1
......@@ -71,11 +71,9 @@ ModemMonitor::~ModemMonitor()
void ModemMonitor::modemAdded(const QString & udi)
{
Q_D(ModemMonitor);
qRegisterMetaType<MMModemLock>();
ModemManager::ModemDevice::Ptr modemDevice = ModemManager::findModemDevice(udi);
ModemManager::Modem::Ptr modem;
ModemManager::Sim::Ptr sim;
if (modemDevice) {
modem = modemDevice->interface(ModemManager::ModemDevice::ModemInterface).objectCast<ModemManager::Modem>();
} else {
......
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