[PATCH] Tabbed MDI window creation fix

F@lk Brettschneider falk.brettschneider at gmx.de
Fri Aug 30 17:04:02 UTC 2002


Hi!

Hamish Rodda wrote:

>
>The patch is the most elegant solution I could think of.  It remembers which 
>windows are not toolbar windows, and uses one of those windows as the 
>"parent" when creating another.  I've done minimal testing
>
Don't apply that patch.
The patch is wrong because redocking (via drag-and-drop-with-the-mouse) 
KDockWidgets destroys them and reparents their embedded widgets to newly 
created dockwidgets. So your managment list will contain dangling pointers.

Ciao
F at lk






More information about the KDevelop-devel mailing list