~ubuntu-branches/ubuntu/precise/kde-workspace/precise-security

« back to all changes in this revision

Viewing changes to libs/solid/control/networkmanager.cpp

Tags: upstream-4.7.2
Import upstream version 4.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
 
222
222
void Solid::Control::NetworkManagerPrivate::_k_networkInterfaceRemoved(const QString &uni)
223
223
{
 
224
    emit networkInterfaceRemoved(uni);
 
225
 
224
226
    QPair<NetworkInterface *, QObject *> pair = m_networkInterfaceMap.take(uni);
225
227
 
226
228
    if (pair.first!= 0)
228
230
        delete pair.first;
229
231
        delete pair.second;
230
232
    }
231
 
 
232
 
    emit networkInterfaceRemoved(uni);
233
233
}
234
234
 
235
235
void Solid::Control::NetworkManagerPrivate::_k_destroyed(QObject *object)