s/PasswordEchoOnEdit/Password/
authorWerner Koch <wk@gnupg.org>
Thu, 12 Aug 2010 09:21:34 +0000 (11:21 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 12 Aug 2010 09:21:34 +0000 (11:21 +0200)
ChangeLog
pinentrydialog.cpp

index cbdf28e..1697a50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-12  Werner Koch  <wk@g10code.com>
+
+       * pinentrydialog.cpp (PinEntryDialog): s/PasswordEchoOnEdit/Password/.
+
 2010-08-12  Andre Heinecke  <aheinecke@intevation.de>
 
        * pinentrydialog.cpp (PinEntryDialog): Connect signal with standard type
index 869cebd..7566094 100644 (file)
@@ -110,7 +110,10 @@ PinEntryDialog::PinEntryDialog( QWidget* parent, const char* name, bool modal,
 
   _edit = new QSecureLineEdit( this );
   _edit->setMaxLength( 256 );
-  _edit->setEchoMode( QLineEdit::PasswordEchoOnEdit );
+  /* FIXME: For unknown reasons PasswordEchoOnEdit does not work.  The
+     asterisk are only displayed after changing the focus.  Tested
+     with Qt 4.6.3.  */
+  _edit->setEchoMode( QLineEdit::Password );
 
   _prompt->setBuddy( _edit );