vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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 );

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to