[vlc-commits] Qt: adapt the spatializer GUI to the new values

Jean-Baptiste Kempf git at videolan.org
Sat Feb 25 17:54:40 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 25 17:54:25 2012 +0100| [50bf4ecba24e13d8453a02573d23589e40e28853] | committer: Jean-Baptiste Kempf

Qt: adapt the spatializer GUI to the new values

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50bf4ecba24e13d8453a02573d23589e40e28853
---

 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 b2f5179..6eabc64 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1369,12 +1369,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