perf(hotspot):避免不必要的调用

This commit is contained in:
jzxc95 2023-08-25 17:34:33 +08:00
parent 313397e0d3
commit 8f867f7562
1 changed files with 6 additions and 1 deletions

View File

@ -360,7 +360,12 @@ void MobileHotspotWidget::onActiveConnectionChanged(QString deviceName, QString
setUiEnabled(false);
m_uuid.clear();
}
if (m_interfaceComboBox) {
if (deviceName != m_interfaceName) {
return;
}
if (m_interfaceComboBox && status == 2) {
onInterfaceChanged();
}
}