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 7e6236d..5d20194 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 )