From 141b7f0a101f399ca7c872b3c53c45a5845245e5 Mon Sep 17 00:00:00 2001 From: York Lee Date: Mon, 17 Apr 2023 19:55:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=B8=AA=E4=BA=BA=E7=83=AD=E7=82=B9=E7=9A=84=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=90=8D=E7=A7=B0=E4=B8=8E=E5=AE=89=E5=85=A8=E4=B9=8B?= =?UTF-8?q?=E9=97=B4=E7=9A=84=E9=97=B4=E9=9A=94=E8=BF=87=E5=A4=A7=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增个人热点的弹窗是3个并列的Widget,分别是genericSection、secretHotspotSection、wirelessSection 其中secretHotspotSection即为安全选项,这个Widget没有标题,修改后给secretHotspotSection一个标题,使得3个Widget格式一致,间隔也一致。 Issue: https://github.com/linuxdeepin/dde-network-core/issues/141 Log: 修复了新增个人热点的弹窗名称与安全之间的间隔过大的问题 --- dcc-network-plugin/window/sections/secrethotspotsection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcc-network-plugin/window/sections/secrethotspotsection.cpp b/dcc-network-plugin/window/sections/secrethotspotsection.cpp index 8073823c..077664c6 100644 --- a/dcc-network-plugin/window/sections/secrethotspotsection.cpp +++ b/dcc-network-plugin/window/sections/secrethotspotsection.cpp @@ -22,7 +22,7 @@ static const QList KeyMgmtList { }; SecretHotspotSection::SecretHotspotSection(WirelessSecuritySetting::Ptr wsSeting, QFrame *parent) - : AbstractSection(parent) + : AbstractSection(tr("Security"), parent) , m_keyMgmtChooser(new ComboxWidget(this)) , m_passwdEdit(new LineEditWidget(true)) , m_currentKeyMgmt(WirelessSecuritySetting::KeyMgmt::WpaNone)