vlc | branch: master | Steve Lhomme <[email protected]> | 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to