Merge branch '0908' into 'dbus-interface'

fix:解决连接不能连接的网络时,有时不能发出lisupdate的信号

See merge request kylin-desktop/kylin-nm!241
This commit is contained in:
ren peijia 2021-09-09 10:51:19 +00:00
commit ba6c9658ef
1 changed files with 2 additions and 0 deletions

View File

@ -551,6 +551,8 @@ void KyNetworkResourceManager::onActiveConnectionChanged(
if (activeConnect->isValid()) { if (activeConnect->isValid()) {
qDebug()<<"!New state change activate connect"<<activeConnect->uuid(); qDebug()<<"!New state change activate connect"<<activeConnect->uuid();
qDebug()<<"!New the active connect state"<<state; qDebug()<<"!New the active connect state"<<state;
emit activeConnectStateChangeReason(activeConnect->uuid(), state,
NetworkManager::ActiveConnection::Reason::UknownReason);
} else { } else {
} }