]> git.sesse.net Git - vlc/commitdiff
Sets EchoMode(QLineEdit::Password) for CONFIG_ITEM_PASSWORD
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 19 Aug 2007 19:10:03 +0000 (19:10 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 19 Aug 2007 19:10:03 +0000 (19:10 +0000)
modules/gui/qt4/components/preferences_widgets.cpp

index 7e6236ddb8e24fe779e3f2521d0948880fa79d34..5d2019411af21e0ba4eb04c793a77ec3e21f0c8b 100644 (file)
@@ -202,6 +202,7 @@ StringConfigControl::StringConfigControl( vlc_object_t *_p_this,
 {
     label = new QLabel( qtr(p_item->psz_text) );
     text = new QLineEdit( qfu(p_item->value.psz) );
+    if( pwd ) text->setEchoMode( QLineEdit::Password );
     finish();
 
     if( !l )