--===============0699361718== Content-Type: multipart/signed; boundary="nextPart1542180.etPAc7de2I"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1542180.etPAc7de2I Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 15 December 2006 23:44, Sebastian Sauer wrote: > KoMainWindow::setRootDocument does > =A0=A0=A0=A0=A0=A0=A0=A0qDeleteAll( d->m_dockWidgetMap.values() ); > =A0=A0=A0=A0=A0=A0=A0=A0d->m_dockWidgetMap.clear(); > where m_dockWidgetMap is actualy a > =A0=A0=A0=A0=A0=A0=A0=A0QMap 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.= =20 (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 ;) =2D-=20 Thomas Zander --nextPart1542180.etPAc7de2I Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFg7KrCojCW6H2z/QRAjYlAKDD/PoG/pDnkMYcN4muXVuUSbgolACgsk8z Zcb8Q48sridSYejbHkzgdIM= =d3T3 -----END PGP SIGNATURE----- --nextPart1542180.etPAc7de2I-- --===============0699361718== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0699361718==--