[mythtv] [patch] comboboxsetting causes segfault

Matt Zimmerman mdz at debian.org
Tue Mar 9 21:00:54 EST 2004


On Mon, Mar 08, 2004 at 07:07:30PM +0100, Kenneth Aafl?y wrote:

> On Monday 08 March 2004 18:49, Kenneth Aafl?y wrote:
> > Hi,
> >
> > here's a patch which fixes a segfault generated by comboboxsetting.
> 
> A revised version that also removes the connection to the widgets insertItem, 
> as that is handled by addSelection.

I intentionally avoided keeping references to any widgets in the setting
class; I think this would all work much better if it worked the other way
around, and the widget connected to a signal on the setting which would be
emitted if something changed.

-- 
 - mdz


More information about the mythtv-dev mailing list