vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu Apr 19 11:12:57 2018 +0200| [ef7017434de6b072005010659bfbf14deb6ef0f6] | committer: Hugo Beauzée-Luyssen
Revert "qt: input_slider: Convert wheel events to KEY_MOUSEWHEEL*" This reverts commit 11bd3483a06de831a9127fd813db5728a178632a. (cherry picked from commit 54bad88fe9f0ed1ba79a3ce4605b755f4e976f28) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ef7017434de6b072005010659bfbf14deb6ef0f6 --- modules/gui/qt/util/input_slider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt/util/input_slider.cpp b/modules/gui/qt/util/input_slider.cpp index d5dcff61ea..b612354832 100644 --- a/modules/gui/qt/util/input_slider.cpp +++ b/modules/gui/qt/util/input_slider.cpp @@ -404,9 +404,9 @@ void SeekSlider::wheelEvent( QWheelEvent *event ) if( !isSliding && isEnabled() ) { if ( event->delta() > 0 ) - var_SetInteger( p_intf->obj.libvlc, "key-pressed", KEY_MOUSEWHEELRIGHT ); + var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_JUMP_BACKWARD_SHORT ); else - var_SetInteger( p_intf->obj.libvlc, "key-pressed", KEY_MOUSEWHEELLEFT ); + var_SetInteger( p_intf->obj.libvlc, "key-action", ACTIONID_JUMP_FORWARD_SHORT ); } event->accept(); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
