Merge branch 'dbus-interface' into 'dbus-interface'
解决BUG 124417 【输入法】【PC/TM】连接无线网界面无法使用软键盘 See merge request kylin-desktop/kylin-nm!630
This commit is contained in:
commit
857db2643e
|
@ -233,6 +233,7 @@ void WlanListItem::initWlanUI()
|
||||||
m_pwdLineEdit = new KPasswordEdit(m_pwdFrame);
|
m_pwdLineEdit = new KPasswordEdit(m_pwdFrame);
|
||||||
m_pwdLineEdit->setFixedWidth(LINEEDIT_WIDTH);
|
m_pwdLineEdit->setFixedWidth(LINEEDIT_WIDTH);
|
||||||
m_pwdLineEdit->setClearButtonEnabled(false); //禁用ClearBtn按钮
|
m_pwdLineEdit->setClearButtonEnabled(false); //禁用ClearBtn按钮
|
||||||
|
m_pwdLineEdit->setAttribute(Qt::WA_InputMethodEnabled, true); //打开输入法
|
||||||
// m_pwdLineEdit->setAttribute(Qt::WA_InputMethodEnabled, false);
|
// m_pwdLineEdit->setAttribute(Qt::WA_InputMethodEnabled, false);
|
||||||
// m_pwdLineEdit->setContextMenuPolicy(Qt::NoContextMenu);
|
// m_pwdLineEdit->setContextMenuPolicy(Qt::NoContextMenu);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue