[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [lightdm] themes/userbar: Expose passwordCharacter and set a more modern default
From: Aurélien Gâteau <aurelien.gateau () canonical ! com>
Date: 2012-04-17 9:01:52
Message-ID: 20120417090152.70B8BA60BB () git ! kde ! org
[Download RAW message or body]
Git commit a33c5a58e6cfd3929a3956236653bb315925fe4d by Aurélien Gâteau.
Committed on 17/04/2012 at 11:00.
Pushed by gateau into branch 'master'.
Expose passwordCharacter and set a more modern default
M +2 -0 themes/userbar/TextField.qml
http://commits.kde.org/lightdm/a33c5a58e6cfd3929a3956236653bb315925fe4d
diff --git a/themes/userbar/TextField.qml b/themes/userbar/TextField.qml
index 5001869..d4c832b 100644
--- a/themes/userbar/TextField.qml
+++ b/themes/userbar/TextField.qml
@@ -170,6 +170,7 @@ FocusScope {
property alias cursorPosition: textInput.cursorPosition
property alias readOnly: textInput.readOnly
property alias echoMode: textInput.echoMode // Supports \
TextInput.Normal,TextInput.Password, TextInput.NoEcho, TextInput.PasswordEchoOnEdit + \
property alias passwordCharacter: textInput.passwordCharacter
property alias acceptableInput: textInput.acceptableInput // read-only
property alias inputMask: textInput.inputMask
property alias validator: textInput.validator
@@ -294,6 +295,7 @@ FocusScope {
leftMargin: 2 * base.margins.left
rightMargin: 2 * base.margins.right + (clearButton.opacity > 0 ? \
clearButton.width : 0) }
+ passwordCharacter: "•"
selectByMouse: true
color: theme.textColor
enabled: textField.enabled
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic