From: Ilkka Ollakka Date: Sun, 19 Aug 2007 19:10:03 +0000 (+0000) Subject: Sets EchoMode(QLineEdit::Password) for CONFIG_ITEM_PASSWORD X-Git-Tag: 0.9.0-test0~6362 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0ee116aa33d90ba95ef6907d222447db2e7f9969;p=vlc Sets EchoMode(QLineEdit::Password) for CONFIG_ITEM_PASSWORD --- diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp index 7e6236ddb8..5d2019411a 100644 --- a/modules/gui/qt4/components/preferences_widgets.cpp +++ b/modules/gui/qt4/components/preferences_widgets.cpp @@ -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 )