From 0ee116aa33d90ba95ef6907d222447db2e7f9969 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Sun, 19 Aug 2007 19:10:03 +0000 Subject: [PATCH] Sets EchoMode(QLineEdit::Password) for CONFIG_ITEM_PASSWORD --- modules/gui/qt4/components/preferences_widgets.cpp | 1 + 1 file changed, 1 insertion(+) 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 ) -- 2.39.2