Commit 10706d0f authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Equalizer: A QFrame without frame is a QWidget

parent aa4f0a5f
......@@ -1092,7 +1092,7 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
b_vlcBands = var_InheritBool( p_intf, "equalizer-vlcfreqs" );
/* Add the sliders for the Bands */
QGridLayout *grid = new QGridLayout( ui.frame );
QGridLayout *grid = new QGridLayout( ui.slidersPlaceholder );
grid->setMargin( 0 );
for( int i = 0 ; i < BANDS ; i++ )
{
......
......@@ -87,16 +87,6 @@
</property>
</widget>
</item>
<item row="1" column="2" rowspan="2">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="preampLabel">
<property name="text">
......@@ -123,6 +113,16 @@
</property>
</spacer>
</item>
<item row="1" column="2" rowspan="2">
<widget class="QWidget" name="slidersPlaceholder" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
......
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