[vlc-commits] commit: Qt: remove mousewheeling code. (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Tue May 4 21:19:10 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May  4 21:18:36 2010 +0200| [308b6e6d8eab5bb2b4cfb8208f4504f54534273c] | committer: Jean-Baptiste Kempf 

Qt: remove mousewheeling code.

Previous commits showed it wasn't necessary.

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

 modules/gui/qt4/components/interface_widgets.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index efe02f6..c07f21f 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -257,13 +257,6 @@ bool VideoWidget::eventFilter(QObject *obj, QEvent *event)
             emit keyPressed( static_cast<QKeyEvent *>(event) );
             return true;
         }
-        else if( event->type() == QEvent::Wheel )
-        {
-            int i_vlckey = qtWheelEventToVLCKey( static_cast<QWheelEvent *>( event) );
-            var_SetInteger( p_intf->p_libvlc, "key-pressed", i_vlckey );
-            msg_Dbg( p_intf, "Here: %i", i_vlckey );
-            return true;
-        }
     }
     return false;
 }



More information about the vlc-commits mailing list