修改方法执行顺序

This commit is contained in:
zhangyuanyuan1 2022-08-08 14:49:36 +08:00
parent f15bce742f
commit ef9365b0b8
1 changed files with 2 additions and 2 deletions

View File

@ -926,12 +926,12 @@ void LanPage::onConnectionStateChange(QString uuid,
return; return;
} }
sendLanStateChangeSignal(uuid, (ConnectState)state);
if (m_activeConnectionMap.keys().contains(uuid) && state == NetworkManager::ActiveConnection::State::Activated) { if (m_activeConnectionMap.keys().contains(uuid) && state == NetworkManager::ActiveConnection::State::Activated) {
return; return;
} }
sendLanStateChangeSignal(uuid, (ConnectState)state);
qDebug()<<"[LanPage] connection uuid"<< uuid qDebug()<<"[LanPage] connection uuid"<< uuid
<< "state change slot:"<< state; << "state change slot:"<< state;