Commit 06233466 authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: add empty-string instead skipping string on preferences.

Basicly sets setting to empty or default. Shouldn't affect others than x264-module.
(cherry picked from commit 36886f821d48b0139a91bd989988835bac0fc1a8)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent 5d65ae22
......@@ -517,7 +517,10 @@ void StringListConfigControl::finish(module_config_t *p_module_config, bool byca
for( int i_index = 0; i_index < p_module_config->i_list; i_index++ )
{
if( !p_module_config->ppsz_list[i_index] )
{
combo->addItem( "", QVariant(""));
continue;
}
combo->addItem( qfu((p_module_config->ppsz_list_text &&
p_module_config->ppsz_list_text[i_index])?
p_module_config->ppsz_list_text[i_index] :
......
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