Commit 942aa9c3 authored by Antoine Cellerier's avatar Antoine Cellerier

Add special case for category labels.

parent 7873bfc0
......@@ -688,6 +688,8 @@ void ExtV4l2::Refresh( void )
break;
}
case VLC_VAR_VOID:
{
if( i_type & VLC_VAR_ISCOMMAND )
{
QPushButton *button = new QPushButton( psz_label, box );
button->setObjectName( psz_var );
......@@ -695,6 +697,12 @@ void ExtV4l2::Refresh( void )
CONNECT( button, clicked( bool ), this,
ValueChange( bool ) );
layout->addWidget( button );
}
else
{
QLabel *label = new QLabel( psz_label, box );
layout->addWidget( label );
}
break;
}
default:
......
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