!39 密码输入框默认不提供明文显示功能
From: @liubuguiii Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
8a1dc2ba4d
@ -0,0 +1,32 @@
|
||||
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
|
||||
|
||||
Binary file not shown.
@ -1,12 +1,14 @@
|
||||
Name: kiran-widgets-qt5
|
||||
Version: 2.4.2
|
||||
Release: 1
|
||||
Release: 2%{?dist}
|
||||
Summary: Encapsulated QT Widget
|
||||
Summary(zh_CN): 封装的Qt小部件
|
||||
|
||||
License: MulanPSL-2.0
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Patch0000: 0000-fix-KiranPasswordEdit-default-password-input-does-no.patch
|
||||
|
||||
BuildRequires: cmake >= 3.5
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
@ -76,6 +78,15 @@ make %{?_smp_mflags}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Thu Jan 18 2024 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.4.2-2.kb1
|
||||
- KYOS-B: default password input does not provide clear text display function(#25230)
|
||||
|
||||
* Wed Dec 06 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.4.2-1.kb4
|
||||
- rebuild for KiranUI-2.6-next
|
||||
|
||||
* Thu Sep 07 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.4.2-1.kb2
|
||||
- KYBD: rebuild for KiranUI-2.5-next
|
||||
|
||||
* Tue Sep 05 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.4.2-1
|
||||
- KYBD: rebuild
|
||||
|
||||
@ -205,4 +216,4 @@ rm -rf %{buildroot}
|
||||
- KYOS-F: Suitable for high DPI
|
||||
|
||||
* Fri Sep 25 2020 liuxinhao <liuxinhao@kylinos.com.cn> - 2.0.0+alpha1
|
||||
- first build
|
||||
- first build
|
||||
Loading…
x
Reference in New Issue
Block a user