Commit ebb2d8d1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt extended panels: do not spam about options about modules that don't exist in 1.2

parent c4050dc3
......@@ -396,6 +396,7 @@ void ExtVideo::initComboBoxItems( QObject *widget )
{
QComboBox *combobox = qobject_cast<QComboBox*>( widget );
if( !combobox ) return;
QString option = OptionFromWidgetName( widget );
module_config_t *p_item = config_FindConfig( VLC_OBJECT( p_intf ),
qtu( option ) );
......@@ -505,6 +506,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
free( val.psz_string );
}
else
if( p_obj )
msg_Err( p_intf,
"Module %s's %s variable is of an unsupported type ( %d )",
qtu( module ),
......
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