fix: delete reduplicate code

This commit is contained in:
renpeijia 2021-09-24 11:23:59 +08:00
parent c6cb607a8c
commit dfe4e23f34
1 changed files with 0 additions and 1 deletions

View File

@ -188,7 +188,6 @@ void LanPage::initDeviceCombox()
{ {
//TODO 获取设备列表,单设备时隐藏下拉框,多设备时添加到下拉框;m_devList记录插入的所有设备deviceMap记录设备状态 //TODO 获取设备列表,单设备时隐藏下拉框,多设备时添加到下拉框;m_devList记录插入的所有设备deviceMap记录设备状态
QMap<QString, bool> deviceMap; QMap<QString, bool> deviceMap;
getDeviceEnableState(0,deviceMap);
m_deviceComboBox->clear(); m_deviceComboBox->clear();
m_devList.clear(); m_devList.clear();