33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From b18737fbc5cc6db88ec0aa8456eb04f26eb195ab Mon Sep 17 00:00:00 2001
|
|
From: liuxinhao <liuxinhao@kylinsec.com.cn>
|
|
Date: Wed, 10 Jan 2024 10:50:38 +0800
|
|
Subject: [PATCH] fix(KiranPasswordEdit): default password input does not
|
|
provide clear text display function
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 密码输入框默认不提供明文显示功能
|
|
|
|
Closes #25230
|
|
---
|
|
src/widgets/kiran-passwd-edit/kiran-passwd-edit.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/widgets/kiran-passwd-edit/kiran-passwd-edit.cpp b/src/widgets/kiran-passwd-edit/kiran-passwd-edit.cpp
|
|
index a1a474d..7d15faf 100644
|
|
--- a/src/widgets/kiran-passwd-edit/kiran-passwd-edit.cpp
|
|
+++ b/src/widgets/kiran-passwd-edit/kiran-passwd-edit.cpp
|
|
@@ -34,7 +34,7 @@ public:
|
|
QLineEdit *passwordLineEdit = nullptr;
|
|
QAction *toggleEchoModeAction = nullptr;
|
|
bool isToggleEchoModeAvailable = true;
|
|
- bool revealPasswordAvailable = true;
|
|
+ bool revealPasswordAvailable = false;
|
|
KiranPasswdEdit *const q;
|
|
};
|
|
|
|
--
|
|
2.27.0
|
|
|