[mythtv] Mythtv - lirc commands not functioning as expected
Norm
mlists at dressler.ca
Tue Dec 30 14:52:03 UTC 2008
> This is a bug - I can reproduce the exact same behavior.
>
> The problem is when the custom event is processed for a lirc key press
> (mythmainwindow.cpp line 1517) the text variable only ever gets set if
> the keycode has a Qt::UNICODE_ACCEL modifier which never seems to be the
> case. The result of this is the QKeyEvent that gets sent doesn't have
> the text parameter set to anything so when the guide grid tries to
> convert it to an integer it always fails. QKeyEvents from the keyboard
> always have the text set so that works OK.
>
> A quick fix is to comment out line 1534 in mythmainwindow.cpp so that
> text always get set but don't know enough about this code to know what
> the consequences of this are. Anybody familiar with this code care to
> comment?
>
> I wonder if this has ever worked or has something changed? Could be
> related to the switch to Qt4.
>
> Paul H.
> _______________________________________________
my 1534 must be different then yours since it looks to be an if
statement and commenting it out would likely cause it to not compile.
I'll open a bug for it. Glad it wasn't just me :)
Norm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081230/dec235f0/attachment.htm
More information about the mythtv-dev
mailing list