[mythtv-commits] Ticket #12738: Mythfrontend Service API SendAction not working
MythTV
noreply at mythtv.org
Tue May 3 21:09:48 UTC 2016
#12738: Mythfrontend Service API SendAction not working
----------------------------------------------+--------------------------
Reporter: paul@… | Owner: bmeek
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Services API - Frontend | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------------------+--------------------------
Comment (by bmeek):
Was just reading your comments on IRC backlog. What I've got
that works (with !SendAction) is this:
{{{
- QKeyEvent* ke = new QKeyEvent(QEvent::KeyPress, 0, Qt::NoModifier,
Action);
- qApp->postEvent(GetMythMainWindow(), (QEvent*)ke);
+ GetMythMainWindow()->JumpTo(Action);
}}}
But it only does actions like "Program Guide", "Channel Recording
Priorities"
etc. (Things that the Network Control does.) That would make !SendAction
work
again. Seems that if anything is sent in (QEvent*)ke above fails.
Wondering
if this is a Qt 5 issue.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12738#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list