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

List:       koffice
Subject:    Re: QSplitter again
From:       Werner Trobin <wtrobin () carinthia ! com>
Date:       2000-01-18 18:36:42
[Download RAW message or body]

Simon Hausmann wrote:
> 
> A sidenote:
> 
> We had a similar problem in Konqueror once, where we deleted a widget
> managed by a QSplitter. We got really odd crashes until we realized that
> the ChildRemoved event is handled by the QSplitter as soon as you return
> to the event loop (as it is a posted event) . We however continued dealing
> with the splitter ;(
> IIRC the solution was to call QApplication::sendPostedEvents( splitter,
> QEvent::ChildRemoved ) right after deleting the widget, but I'm not 100%
> sure..
> 
> Just a random thought, perhaps it helps :)

I'll try this! Thank you!

Werner

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

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