[vlc-commits] Qt4: simplify fraction
Rémi Denis-Courmont
git at videolan.org
Mon Aug 6 22:33:04 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 6 23:32:09 2012 +0300| [d80b07150cff0caba49c6a737bb881d8ec129191] | committer: Rémi Denis-Courmont
Qt4: simplify fraction
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d80b07150cff0caba49c6a737bb881d8ec129191
---
modules/gui/qt4/components/simple_preferences.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index ee4f049..741344f 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -328,7 +328,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
#undef audioCommon
/* Audio Options */
- ui.volumeValue->setMaximum( (AOUT_VOLUME_DEFAULT * 2) / AOUT_VOLUME_DEFAULT * 100 );
+ ui.volumeValue->setMaximum( 200 );
CONFIG_GENERIC_NO_BOOL( "volume" , IntegerRangeSlider, NULL,
defaultVolume );
CONNECT( ui.defaultVolume, valueChanged( int ),
More information about the vlc-commits
mailing list