Merge branch '2303bug' into 'yhkylin/v101'

fix bug 132828 【网络连接】控制面板和任务栏网络显示WIFI6图标问题

See merge request kylinos-src/kylin-nm!158
This commit is contained in:
赵世旭 2023-04-23 06:49:40 +00:00
commit 549003a0a5
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ void WlanPage::checkShowWifi6()
});
processCpuinfo->waitForFinished();
QString ctrCpuinfo = processCpuinfo->readAll();
if (ctrCpuinfo.indexOf("HUAWEI Kirin 990") != -1) {
if (ctrCpuinfo.indexOf("Kirin", 0, Qt::CaseInsensitive) != -1 && ctrCpuinfo.indexOf("990") != -1) {
//HW990上不显示wifi6/6+
m_showWifi6 = false;
}