Commit 366cee56 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt4 - Prevent Key Modifiers pressed event to be propagated to hotkeys that doesn't understand them.

parent 66af5fd9
......@@ -925,7 +925,7 @@ void MainInterface::keyPressEvent( QKeyEvent *e )
}
int i_vlck = qtEventToVLCKey( e );
if( i_vlck >= 0 )
if( i_vlck > 0 )
{
var_SetInteger( p_intf->p_libvlc, "key-pressed", i_vlck );
e->accept();
......
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