Merge branch '0625-cll-main' into 'main'

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

See merge request kylin-desktop/kylin-nm!62
This commit is contained in:
Zhang Jiaping 2021-06-28 01:29:14 +00:00
commit ea046660b4
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地址