From 7de77f2551f32690e240b2143dec18b4897dd55e Mon Sep 17 00:00:00 2001 From: chenlelin Date: Sat, 26 Jun 2021 14:58:51 +0800 Subject: [PATCH] Fix bug-57502 show wrong bluetooth information in wired user interface --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 48a43f74..22c289ad 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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地址