[mythtv] CTRL or SHIFT keybindings to ESCAPE (r9163)
Wolfgang Nothdurft
mythtv at linux-dude.de
Mon May 22 23:45:29 UTC 2006
Hi,
line 1077 in libs/libmyth/mythdialogs.cpp
if (e->state() != 0)
return;
prevents that it is not possible to exit from plugins with Ctrl or Shift
in ESCAPE keybindings. Is there any reason for this behavior.
I have a remote control that maps the exit key to Ctrl-Shift-H.
I think something like the following is more usefully or break this code
other functions?
if (e->state() != 0) && !((e->state() & Qt::ShiftButton) || (e->state()
& Qt::ControlButton))
return;
thanx
Wolfgang
More information about the mythtv-dev
mailing list