[vlc-commits] qt4: passwords do not offer choices

Rémi Denis-Courmont git at videolan.org
Sun Aug 19 23:11:25 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 19 22:57:24 2012 +0300| [870c39ef04e0523dca07743168008e9924bc4508] | committer: Rémi Denis-Courmont

qt4: passwords do not offer choices

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=870c39ef04e0523dca07743168008e9924bc4508
---

 modules/gui/qt4/components/preferences_widgets.cpp |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 4a042b0..16106f5 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -100,10 +100,7 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this,
             p_control = new StringListConfigControl( p_this, p_item, parent );
         break;
     case CONFIG_ITEM_PASSWORD:
-        if( !p_item->i_list )
-            p_control = new StringConfigControl( p_this, p_item, parent, true );
-        else
-            p_control = new StringListConfigControl( p_this, p_item, parent );
+        p_control = new StringConfigControl( p_this, p_item, parent, true );
         break;
     case CONFIG_ITEM_RGB:
         p_control = new ColorConfigControl( p_this, p_item, parent );



More information about the vlc-commits mailing list