Commit 308b6e6d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt: remove mousewheeling code.

Previous commits showed it wasn't necessary.
parent fb786854
......@@ -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;
}
......
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