[mythtv] MythDialog->AddButton/SLOT Question

George Galt george.galt at gmail.com
Fri Mar 26 19:14:45 UTC 2010


On Fri, Mar 26, 2010 at 1:25 PM, Robert McNamara
<robert.mcnamara at gmail.com> wrote:
> On Fri, Mar 26, 2010 at 10:16 AM, Jonatan <mythtv at comhem.se> wrote:
>>
>> Maybe I'm missing something, but I'd still say that the SetReturnEvent
>> call is needed since it sets m_retObject which is used to connect the
>> Selected signal to the slot.
>>
>> /Jonatan
>
> Missed what you were getting at (see MythGame's menus for what I
> thought you were referring to), yes, there's a missing SetReturnEvent
> above.
>
> Robert
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

Jonatan:

Thanks for your persistence.  Adding a "SetReturnEvent" fixed it.  I
didn't realize that it was used to connect the signal to the slot in
the correct object.  It's not trivial trying to trace one's way
through all of the various objects in the MythUI!  I appreciate your
guidance.

And thanks too to Robert for his help (and for his themes!)

George


More information about the mythtv-dev mailing list