Commit 01f8d803 authored by Steve Lhomme's avatar Steve Lhomme

qt: "short-jump-size" is in seconds, not an mtime_t

parent 424c62c3
......@@ -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;
......
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