Commit e7dccc29 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: adapt the spatializer GUI to the new values

(cherry picked from commit 50bf4ecba24e13d8453a02573d23589e40e28853)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e8ad8716
...@@ -1371,12 +1371,17 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent ) ...@@ -1371,12 +1371,17 @@ Spatializer::Spatializer( intf_thread_t *_p_intf, QWidget *_parent )
spatCtrl[i]->setMaximum( 10 ); spatCtrl[i]->setMaximum( 10 );
spatCtrl[i]->setValue( 2 ); spatCtrl[i]->setValue( 2 );
} }
else else if( i < 4 )
{ {
spatCtrl[i]->setMaximum( 10 ); spatCtrl[i]->setMaximum( 10 );
spatCtrl[i]->setValue( 0 ); spatCtrl[i]->setValue( 2 );
spatCtrl[i]->setMinimum( -10 ); spatCtrl[i]->setMinimum( -10 );
} }
else
{
spatCtrl[i]->setMaximum( 4 );
spatCtrl[i]->setValue( 1 );
}
oldControlVars[i] = spatCtrl[i]->value(); oldControlVars[i] = spatCtrl[i]->value();
......
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