Commit 870c39ef authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt4: passwords do not offer choices

parent 549e3f43
...@@ -100,10 +100,7 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this, ...@@ -100,10 +100,7 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this,
p_control = new StringListConfigControl( p_this, p_item, parent ); p_control = new StringListConfigControl( p_this, p_item, parent );
break; break;
case CONFIG_ITEM_PASSWORD: case CONFIG_ITEM_PASSWORD:
if( !p_item->i_list ) p_control = new StringConfigControl( p_this, p_item, parent, true );
p_control = new StringConfigControl( p_this, p_item, parent, true );
else
p_control = new StringListConfigControl( p_this, p_item, parent );
break; break;
case CONFIG_ITEM_RGB: case CONFIG_ITEM_RGB:
p_control = new ColorConfigControl( p_this, p_item, parent ); p_control = new ColorConfigControl( p_this, p_item, parent );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment