[Pkg-owncloud-commits] [owncloud-client] 04/30: Mask password lineedit

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Mar 15 21:28:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 9c70ee68d2c0695c1d77d3c4badf02c61b08e553
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Thu Feb 27 13:31:42 2014 +0100

    Mask password lineedit
---
 src/creds/shibboleth/authenticationdialog.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/creds/shibboleth/authenticationdialog.cpp b/src/creds/shibboleth/authenticationdialog.cpp
index 5ad84e3..ef12ba8 100644
--- a/src/creds/shibboleth/authenticationdialog.cpp
+++ b/src/creds/shibboleth/authenticationdialog.cpp
@@ -35,6 +35,8 @@ AuthenticationDialog::AuthenticationDialog(const QString &realm, const QString &
     form->addRow(tr("&User:"), _user);
     form->addRow(tr("&Password:"), _password);
     lay->addLayout(form);
+    _password->setEchoMode(QLineEdit::Password);
+
     QDialogButtonBox *box = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel, Qt::Horizontal);
     connect(box, SIGNAL(accepted()), this, SLOT(accept()));
     connect(box, SIGNAL(rejected()), this, SLOT(reject()));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list