[vlc-commits] qt: "short-jump-size" is in seconds, not an mtime_t
Steve Lhomme
git at videolan.org
Thu Jun 14 16:41:19 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 12 12:23:51 2018 +0200| [01f8d80317ee3057389f67636e75dbd233f5e28d] | committer: Steve Lhomme
qt: "short-jump-size" is in seconds, not an mtime_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01f8d80317ee3057389f67636e75dbd233f5e28d
---
modules/gui/qt/util/input_slider.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/util/input_slider.cpp b/modules/gui/qt/util/input_slider.cpp
index 5a75e8d7f6..1620bdf300 100644
--- a/modules/gui/qt/util/input_slider.cpp
+++ b/modules/gui/qt/util/input_slider.cpp
@@ -403,7 +403,7 @@ void SeekSlider::wheelEvent( QWheelEvent *event )
/* Don't do anything if we are for somehow reason sliding */
if( !isSliding && isEnabled() )
{
- mtime_t i_size = var_InheritInteger( p_intf->obj.libvlc, "short-jump-size" );
+ int64_t i_size = var_InheritInteger( p_intf->obj.libvlc, "short-jump-size" );
int i_mode = var_InheritInteger( p_intf->obj.libvlc, "hotkeys-x-wheel-mode" );
if ( ( event->delta() < 0 && i_mode != 3 ) || ( event->delta() > 0 && i_mode == 3 ) )
i_size = - i_size;
More information about the vlc-commits
mailing list