[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Tue Dec 20 21:06:37 CET 2005
SVN commit 490097 by arwalker:
_parent is set to 0L in removeChild(...), so we should be setting _topObjectForMenu to 0L here
M +1 -1 kstviewobject.cpp
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #490096:490097
@@ -1110,7 +1110,7 @@
KstViewObjectPtr vop(this);
if (_topObjectForMenu) {
_topObjectForMenu->removeChild(this, true);
- _parent = 0L;
+ _topObjectForMenu = 0L;
}
while (!_children.isEmpty()) {
removeChild(_children.first());
More information about the Kst
mailing list