This commit is contained in:
jzxc95 2021-10-15 09:21:52 +08:00
parent 808613285c
commit 6a0806dae0
1 changed files with 1 additions and 1 deletions

View File

@ -797,7 +797,7 @@ void LanPage::onUpdateLanlist(QString uuid,
|| state == NetworkManager::ActiveConnection::State::Deactivating) { || state == NetworkManager::ActiveConnection::State::Deactivating) {
QString devName = m_activeResourse->getDeviceOfActivateConnect(uuid); QString devName = m_activeResourse->getDeviceOfActivateConnect(uuid);
if (devName.isEmpty()) { if (devName.isEmpty()) {
NetworkManager::ConnectionSettings::ConnectionType type = NetworkManager::ConnectionSettings::Wired; NetworkManager::ConnectionSettings::ConnectionType type;
m_connectResourse->getInterfaceByUuid(devName, type, uuid); m_connectResourse->getInterfaceByUuid(devName, type, uuid);
} }
emit lanActiveConnectionStateChanged(devName, uuid, state); emit lanActiveConnectionStateChanged(devName, uuid, state);