网卡插拔逻辑
This commit is contained in:
parent
77b888e0e7
commit
38d12cb626
|
@ -560,6 +560,12 @@ void LanPage::deleteDeviceFromCombox(QString deviceName)
|
|||
disconnect(m_deviceComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
|
||||
this, &LanPage::onDeviceComboxIndexChanged);
|
||||
|
||||
|
||||
if (m_devList.isEmpty()) {
|
||||
m_tipsLabel->hide();
|
||||
m_deviceFrame->hide();
|
||||
m_deviceComboBox->hide();
|
||||
}
|
||||
// if (m_netSwitch->isChecked()) {
|
||||
if (0 == m_enableDeviceList.count()) {
|
||||
//1、没有使能任何网卡
|
||||
|
|
Loading…
Reference in New Issue