Fix bug-57502 show wrong bluetooth information in wired user interface

This commit is contained in:
chenlelin 2021-06-26 14:58:51 +08:00
parent a1d4f7ab55
commit 7de77f2551
1 changed files with 1 additions and 1 deletions

View File

@ -1785,7 +1785,7 @@ void MainWindow::getLanListDone(QStringList slist)
bool isActiveNet = false; //isActiveNet用来表明nname是否是活动的连接
//仅仅对有线网络进行添加列表处理
if (ltype != "802-11-wireless" && ltype != "wifi" && ltype != "bridge" && ltype != "" && ltype != "--") {
if (ltype != "802-11-wireless" && ltype != "wifi" && ltype != "bridge" && ltype != "bluetooth" && ltype != "" && ltype != "--") {
objKyDBus->getLanIpDNS(nuuid, true); //使用UUID获取有线网的ip和dns信息
QString macLan = getMacByUuid(nuuid); //有线网对应的mac地址