Revision 693361
Go back to digest for 29th July 2007Other in KDE Base
Aaron J. Seigo committed changes in /trunk/KDE/kdebase/workspace/libs/plasma/widgets:
someone got confused as to the difference between "the layout that manages my children" and "the layout that manages me". this fixes that and stops crashes in applets that use vbox/hbox
* don't crash when parent=0 is passed in
* don't divid by 0 when we have no children
* have the (fugly) setManagingLayout and unsetManagingLayout and managingLayout methods
* do some memory management so layouts that are thrown around don't get lost in the heap
some unit tests would be nice. hell, a design document on the layout stuff would be nice. i know we're only keeping this around for 4.0, but ... yeah. ugh.
File Changes
Modified 8 files
- /trunk/KDE/kdebase/workspace/libs/plasma/widgets
- /boxlayout.cpp
- /hboxlayout.cpp
- /layout.cpp
- /layoutitem.cpp
- /layoutitem.h
- /vboxlayout.cpp
- /widget.cpp
- /widget.h
8 files changed in total