[PATCH] Tabbed MDI window creation fix
meddie at yoyo.its.monash.edu.au
Sat Aug 31 08:35:23 UTC 2002
F at lk Brettschneider wrote:
> 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
Thanks for the heads-up. I've modified it to track the QextMdiChildViews,
akin to m_pWinList; then, to get the relevant KDockWidget*, the code checks
to see if the parent of the QextMdiChildView is a KDockWidget, and casts it
when a suitable one is found. Is this ok?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3880 bytes
Desc: not available
More information about the KDevelop-devel