Commit 11bd3483 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qt: input_slider: Convert wheel events to KEY_MOUSEWHEEL*

This way we can honor the user's settings regarding inverting the scroll
direction, and they can chose the size of the jump

refs #19790
parent a3f0523b
......@@ -404,9 +404,9 @@ void SeekSlider::wheelEvent( QWheelEvent *event )
if( !isSliding && isEnabled() )
if ( event->delta() > 0 )
var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_JUMP_BACKWARD_SHORT );
var_SetInteger( p_intf->obj.libvlc, "key-pressed", KEY_MOUSEWHEELRIGHT );
var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_JUMP_FORWARD_SHORT );
var_SetInteger( p_intf->obj.libvlc, "key-pressed", KEY_MOUSEWHEELLEFT );
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