diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ac0ce45a..9d1156df 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1706,12 +1706,6 @@ void MainWindow::getWifiListDone(QStringList slist) } } - qDebug()<<"------------"; - foreach (QString str, slist) { - qDebug()<ksnm->execGetWifiList(this->wcardname); + if (isHuaWeiPC) { + current_wifi_list_state = RECONNECT_WIFI; + this->ksnm->execGetWifiList(this->wcardname); + } } //处理外界对网络的连接与断开 diff --git a/translations/kylin-nm_zh_CN.qm b/translations/kylin-nm_zh_CN.qm index 46253d49..d15b9448 100644 Binary files a/translations/kylin-nm_zh_CN.qm and b/translations/kylin-nm_zh_CN.qm differ diff --git a/translations/kylin-nm_zh_CN.ts b/translations/kylin-nm_zh_CN.ts index 779d4c02..55b076a9 100644 --- a/translations/kylin-nm_zh_CN.ts +++ b/translations/kylin-nm_zh_CN.ts @@ -121,6 +121,16 @@ Add Wired Network 新建有线网络 + + + kylin-nm + 网络工具 + + + + kylin network applet desktop message + 麒麟网络工具信息提示 + create wired network successfully 已创建新的有线网络 @@ -1326,13 +1336,6 @@ WPA 及 WPA2 企业 - - KylinDBus - - kylin network applet desktop message - 麒麟网络工具信息提示 - - MainWindow @@ -1752,14 +1755,14 @@ Utils - + kylin-nm 网络工具 - + kylin network applet desktop message - 麒麟网络工具信息提示 + 麒麟网络工具信息提示