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

List:       koffice-devel
Subject:    Re: dirty bug
From:       Thomas Zander <zander () kde ! org>
Date:       2006-12-16 8:47:38
Message-ID: 200612160947.39053.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 15 December 2006 23:44, Sebastian Sauer wrote:
> KoMainWindow::setRootDocument does
>         qDeleteAll( d->m_dockWidgetMap.values() );
>         d->m_dockWidgetMap.clear();
> where m_dockWidgetMap is actualy a
>         QMap<QString, QDockWidget*> m_dockWidgetMap;

That deleteAll should not happen there, it should be done in the destructor.
The lifetime of the dockers is the same as the lifetime of the mainWindow. 
(different canvasses just reuse them)
The hard part is to hide all the dockers while we show the open-dialog.

I think the fix that psn committed is wrong (and very dirty ;)
-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


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

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