From 646869b188607e66a1bde5b469da12b0cb3ddc27 Mon Sep 17 00:00:00 2001 From: chenxuechao Date: Thu, 16 Jun 2022 14:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3BUG=20124417=20=E3=80=90?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=B3=95=E3=80=91=E3=80=90PC/TM=E3=80=91?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=97=A0=E7=BA=BF=E7=BD=91=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8=E8=BD=AF=E9=94=AE=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/list-items/wlanlistitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/list-items/wlanlistitem.cpp b/src/frontend/list-items/wlanlistitem.cpp index 5c6eb5cc..0a5fea2b 100644 --- a/src/frontend/list-items/wlanlistitem.cpp +++ b/src/frontend/list-items/wlanlistitem.cpp @@ -233,6 +233,7 @@ void WlanListItem::initWlanUI() m_pwdLineEdit = new KPasswordEdit(m_pwdFrame); m_pwdLineEdit->setFixedWidth(LINEEDIT_WIDTH); m_pwdLineEdit->setClearButtonEnabled(false); //禁用ClearBtn按钮 + m_pwdLineEdit->setAttribute(Qt::WA_InputMethodEnabled, true); //打开输入法 // m_pwdLineEdit->setAttribute(Qt::WA_InputMethodEnabled, false); // m_pwdLineEdit->setContextMenuPolicy(Qt::NoContextMenu);