[vlc-devel] commit: Small fix. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jul 27 19:53:36 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 27 00:08:12 2008 -0700| [d15ef2e0b343282c17df257768d899c5840421e2]
Small fix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d15ef2e0b343282c17df257768d899c5840421e2
---
modules/gui/qt4/components/extended_panels.cpp | 2 +-
modules/gui/qt4/ui/equalizer.ui | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index e69b8ff..7967314 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -808,7 +808,7 @@ Equalizer::Equalizer( intf_thread_t *_p_intf, QWidget *_parent ) :
presetsComboBox = ui.presetsCombo;
ui.preampLabel->setFont( smallFont );
- ui.preampSlider->setMaximum( 400 );
+
for( int i = 0 ; i < NB_PRESETS ; i ++ )
{
ui.presetsCombo->addItem( qtr( preset_list_text[i] ),
diff --git a/modules/gui/qt4/ui/equalizer.ui b/modules/gui/qt4/ui/equalizer.ui
index a32ef36..7ea3331 100644
--- a/modules/gui/qt4/ui/equalizer.ui
+++ b/modules/gui/qt4/ui/equalizer.ui
@@ -81,6 +81,9 @@
</item>
<item row="0" column="0" >
<widget class="QSlider" name="preampSlider" >
+ <property name="maximum" >
+ <number>400</number>
+ </property>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
More information about the vlc-devel
mailing list