]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/interface_widgets.cpp
Qt: remove mousewheeling code.
[vlc] / modules / gui / qt4 / components / interface_widgets.cpp
index efe02f61f8581883429ac29270a3e09faf0a1ca4..c07f21f64a53af24187a84a38b1e1744e7087601 100644 (file)
@@ -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;
 }