|
|
@ -227,12 +227,11 @@ void ConnectionEditorImpl::slotRemoveCurrentConnection()
|
|
|
|
|
|
|
|
|
|
|
|
TDENetworkConnection* conn = nm->findConnectionByUUID(item->_conn);
|
|
|
|
TDENetworkConnection* conn = nm->findConnectionByUUID(item->_conn);
|
|
|
|
|
|
|
|
|
|
|
|
lvConnections->takeItem(item);
|
|
|
|
|
|
|
|
delete item;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!nm->deleteConnection(conn->UUID)) {
|
|
|
|
if (!nm->deleteConnection(conn->UUID)) {
|
|
|
|
KMessageBox::error(this, i18n("<qt><b>Unable to delete network connection!</b><p>Potential causes:<br> * Insufficient permissions<br> * NetworkManager not running<br> * DBUS failure</qt>"), i18n("Unable to perform requested operation"));
|
|
|
|
KMessageBox::error(this, i18n("<qt><b>Unable to delete network connection!</b><p>Potential causes:<br> * Insufficient permissions<br> * NetworkManager not running<br> * DBUS failure</qt>"), i18n("Unable to perform requested operation"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
slotRefreshConnectionList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|