[PATCH] Konq: resize on removeView (sidebar size problem)
Waldo Bastian
bastian at kde.org
Sun Jun 8 14:38:04 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When removing a view from a split view, Konqy switches back to an unsplit
view. It reparents the remaining view out of the QSplitter
(KonqFrameContainer). The view that is about to be deleted remains in the
QSplitter. QSplitter automatically updates the layout, causing the to be
deleted view to be resized to the full width.
The sidebar saves it's width when it gets destructed and as a result saves
this full width, instead of the width it had before the other view got
removed from the Qplitter.
The attached patch makes that KonqFrameContainer (QSplitter) doesn't do any
layout changes any more when it is about to get deleted anyway. This is
slightly faster and allows the sidebar to save its width properly.
Please review.
Cheers,
Waldo
- --
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+4zw8N4pvrENfboIRApicAJ4xdjyOLiwpzi96FkLwwrPcD8o96wCfdp9m
FTD08Pvo3XT1N4IDtMEtqLM=
=xA57
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: konq_remove_view_resize.patch
Type: text/x-diff
Size: 2419 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030608/2031c09c/attachment.patch>
More information about the kfm-devel
mailing list