Commit e6f024b4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Qt4: soft-code when to show the language setting (fixes #7803)

parent 6eaec7cb
......@@ -529,11 +529,16 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
+ qtr( "VLC skins website" )+ QString( "</a>." ) );
ui.skinsLabel->setFont( italicFont );
#if defined( WIN32 )
CONFIG_GENERIC( "language", StringList, ui.languageLabel, language );
if( config_GetType( p_intf, "language" ) )
{
CONFIG_GENERIC( "language", StringList, ui.languageLabel,
language );
}
else
ui.languageBox->hide();
#ifdef WIN32
BUTTONACT( ui.assoButton, assoDialog() );
#else
ui.languageBox->hide();
ui.assoButton->hide();
ui.assocLabel->hide();
#endif
......
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