vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu Apr 19 
11:12:57 2018 +0200| [54bad88fe9f0ed1ba79a3ce4605b755f4e976f28] | committer: 
Hugo Beauzée-Luyssen

Revert "qt: input_slider: Convert wheel events to KEY_MOUSEWHEEL*"

This reverts commit 11bd3483a06de831a9127fd813db5728a178632a.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54bad88fe9f0ed1ba79a3ce4605b755f4e976f28
---

 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

Reply via email to