diff --git a/networkmanagement/handler.cpp b/networkmanagement/handler.cpp index b3f5d80..c5d3709 100644 --- a/networkmanagement/handler.cpp +++ b/networkmanagement/handler.cpp @@ -272,22 +272,6 @@ void Handler::addAndActivateConnection(const QString& device, const QString& spe m_tmpDevicePath = device; m_tmpSpecificPath = specificObject; - // QPointer editor = new ConnectionEditorDialog(settings); - // editor->show(); - // KWindowSystem::setState(editor->winId(), NET::KeepAbove); - // KWindowSystem::forceActiveWindow(editor->winId()); - // connect(editor.data(), &ConnectionEditorDialog::accepted, - // [editor, this] () { - // addConnection(editor->setting()); - // }); - // connect(editor.data(), &ConnectionEditorDialog::finished, - // [editor] () { - // if (editor) { - // editor->deleteLater(); - // } - // }); - // editor->setModal(true); - // editor->show(); } else { if (securityType == NetworkManager::StaticWep) { wifiSecurity->setKeyMgmt(NetworkManager::WirelessSecuritySetting::Wep); @@ -864,4 +848,3 @@ void Handler::unlockRequiredChanged(MMModemLock modemLock) } } #endif -