Fwd: Patch for KJanusWidget problem

Martijn Klingens klingens at kde.org
Sat Nov 9 13:13:06 GMT 2002


On Saturday 09 November 2002 13:19, Simon Hausmann wrote:
> On Sat, Nov 09, 2002 at 01:11:42PM +0100, Simon Hausmann wrote:
> > On Sat, Nov 09, 2002 at 01:12:12PM +0100, Martijn Klingens wrote:
> > > Could someone who knows KJanusWidget look at this patch?
> > >
> > > To me it looks fine, although it might be better to simply fix the
> > > problem at the Qt level.
> >
> > Definitely. I think the problem is that QWidgetStack relies on being
> > sent a child event when the child dies. While that event is received
> > the isWidgetType() condition fails because the event is sent from
> > the QObject destructor. I'll write a bugreport.
>
> Nevermind, it works with current qt-copy (I just saw that
> isWidgetType() is no more a virtual method) . Don't think there's
> anything to fix then.

Unless that method was also in Qt 3.0, because then the change would be BIC 
;-)

But I presume it's all safe now.

-- 
Martijn





More information about the kde-core-devel mailing list