[mythtv-commits] Ticket #1851: Global keybindings with Ctrl or Shift doesn't work in Plugins
MythTV
mythtv at cvs.mythtv.org
Wed May 24 02:56:48 EDT 2006
#1851: Global keybindings with Ctrl or Shift doesn't work in Plugins
----------------------------------+-----------------------------------------
Reporter: mythtv at linux-dude.de | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.19.1
Component: mythtv | Version: 0.19
Severity: medium |
----------------------------------+-----------------------------------------
libs/libmyth/mythdialogs.cpp line 1077 in function void
MythDialog::keyPressEvent( QKeyEvent *e )
{{{
if (e->state() != 0)
return;
}}}
prevents that it is not possible to use Ctrl or Shift Global keybindings
from the plugins.
I have a remote control that maps the exit key to Ctrl-Shift-H and I can't
exit from any plugin.
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;
}}}
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1851>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list