From b435280184e358860837ea4f7c8393539d893160 Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Wed, 17 Aug 2022 10:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E7=A7=BB=E5=8A=A8=E7=83=AD=E7=82=B9GHz=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E6=8B=BC=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/mobilehotspot/mobilehotspotwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/mobilehotspot/mobilehotspotwidget.cpp b/plugins/mobilehotspot/mobilehotspotwidget.cpp index 69bad9a3..4d9aab55 100644 --- a/plugins/mobilehotspot/mobilehotspotwidget.cpp +++ b/plugins/mobilehotspot/mobilehotspotwidget.cpp @@ -538,8 +538,8 @@ void MobileHotspotWidget::setFreqBandFrame() m_freqBandComboBox->setInsertPolicy(QComboBox::NoInsert); m_freqBandComboBox->setMinimumWidth(COMBOBOX_MIN_WIDTH); m_freqBandComboBox->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Fixed); - m_freqBandComboBox->addItem("2.4Ghz"); - m_freqBandComboBox->addItem("5Ghz"); + m_freqBandComboBox->addItem("2.4GHz"); + m_freqBandComboBox->addItem("5GHz"); freqBandHLayout->setContentsMargins(ITEM_MARGINS); freqBandHLayout->setSpacing(0); freqBandHLayout->addWidget(m_freqBandLabel); @@ -746,10 +746,10 @@ void MobileHotspotWidget::updateBandCombox() } QMap devCapMap = capReply.value(); if (devCapMap[m_interfaceName] & 0x02) { - m_freqBandComboBox->addItem("2.4Ghz"); + m_freqBandComboBox->addItem("2.4GHz"); } if (devCapMap[m_interfaceName] & 0x04) { - m_freqBandComboBox->addItem("5Ghz"); + m_freqBandComboBox->addItem("5GHz"); } }