[vlc-commits] Qt: adapt the spatializer GUI to the new values
Jean-Baptiste Kempf
git at videolan.org
Sat Feb 25 18:09:51 CET 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 25 17:54:25 2012 +0100| [e7dccc29aa8d1928d93cf20a8330b4c86149cf83] | committer: Jean-Baptiste Kempf
Qt: adapt the spatializer GUI to the new values
(cherry picked from commit 50bf4ecba24e13d8453a02573d23589e40e28853)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=e7dccc29aa8d1928d93cf20a8330b4c86149cf83
---
modules/gui/qt4/components/extended_panels.cpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 9315dd3..76484f6 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1371,12 +1371,17 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
spatCtrl[i]->setMaximum( 10 );
spatCtrl[i]->setValue( 2 );
}
- else
+ else if( i < 4 )
{
spatCtrl[i]->setMaximum( 10 );
- spatCtrl[i]->setValue( 0 );
+ spatCtrl[i]->setValue( 2 );
spatCtrl[i]->setMinimum( -10 );
}
+ else
+ {
+ spatCtrl[i]->setMaximum( 4 );
+ spatCtrl[i]->setValue( 1 );
+ }
oldControlVars[i] = spatCtrl[i]->value();
More information about the vlc-commits
mailing list