remove useless code
This commit is contained in:
parent
92efbe52c3
commit
808613285c
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue