vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Sat Jan 5 13:36:54 2013 +0100| [10706d0f4db50ac321b5cb96dac31fdd9ebe07b8] | committer: Francois Cartegnie
Qt: Equalizer: A QFrame without frame is a QWidget > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10706d0f4db50ac321b5cb96dac31fdd9ebe07b8 --- modules/gui/qt4/components/extended_panels.cpp | 2 +- modules/gui/qt4/ui/equalizer.ui | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index 2318579..f6b28c9 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -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++ ) { diff --git a/modules/gui/qt4/ui/equalizer.ui b/modules/gui/qt4/ui/equalizer.ui index c75da80..d069ade 100644 --- a/modules/gui/qt4/ui/equalizer.ui +++ b/modules/gui/qt4/ui/equalizer.ui @@ -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> _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits