[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kdeui
From:       John Firebaugh <jfirebaugh () kde ! org>
Date:       2002-12-11 6:43:39
[Download RAW message or body]

On Monday 09 December 2002 2:43, David Faure wrote:
> CVS commit by faure:
>
> Ouch! KWidgetAction was quite broken. If the GUI was rebuilt, toolbars
> being deleted and created (e.g. after KEditToolbar, but not only), the
> widget was destroyed too, since it was a child of the toolbar!
>
> Implemented the solution suggested by Simon:
> * added toolbarDestroyed() signal to KToolbar
> * connected to it in KWidgetAction
> * reparent out the widget (like unplug does) when the toolbar is getting
> destroyed.

Hmm, I thought at least the KEditToolbar case used to work, because unplug got 
called before the toolbar was destroyed. Did this change recently?

And is there a reason we can't just connect to QObject::destroyed()?

-John
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic