remove useless code

This commit is contained in:
jzxc95 2021-10-14 20:33:09 +08:00
parent 92efbe52c3
commit 808613285c
1 changed files with 0 additions and 4 deletions

View File

@ -208,14 +208,10 @@ void KyConnectOperation::activateConnection(const QString connectUuid, const QSt
void KyConnectOperation::deactivateConnection(const QString activeConnectName, const QString &activeConnectUuid)
{
NetworkManager::ActiveConnection::Ptr activateConnectPtr = nullptr;
qDebug()<<"deactivetate connect name"<<activeConnectName<<"uuid"<<activeConnectUuid;
if (nullptr == m_networkResourceInstance) {
qDebug() << "NULL!";
}
activateConnectPtr = m_networkResourceInstance->getActiveConnect(activeConnectUuid);
if (nullptr == activateConnectPtr) {
QString errorMessage = tr("it can not find the activate connect")