[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ruqola] src/apps/qml: Fix warning + show text as password
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-28 6:50:12
Message-ID: E1g5mbM-0007RX-2f () code ! kde ! org
[Download RAW message or body]

Git commit 9eaedf36468eec9fff16f825084a10e47cb1d89a by Laurent Montel.
Committed on 28/09/2018 at 06:49.
Pushed by mlaurent into branch 'master'.

Fix warning + show text as password

M  +2    -1    src/apps/qml/ChannelPasswordDialog.qml

https://commits.kde.org/ruqola/9eaedf36468eec9fff16f825084a10e47cb1d89a

diff --git a/src/apps/qml/ChannelPasswordDialog.qml b/src/apps/qml/ChannelPasswordDialog.qml
index d5cc6347..6366b1bc 100644
--- a/src/apps/qml/ChannelPasswordDialog.qml
+++ b/src/apps/qml/ChannelPasswordDialog.qml
@@ -49,7 +49,7 @@ QQC2.Dialog {
 
     ColumnLayout {
         QQC2.Label {
-            text: i18n("Channel %1", roomId);
+            text: roomId === "" ? "" : i18n("Channel \'%1\' needs a password", roomId);
         }
 
         QQC2.Label {
@@ -58,6 +58,7 @@ QQC2.Dialog {
         QQC2.TextField {
             id: passwordField
             selectByMouse: true
+            echoMode: TextInput.Password
         }
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic