[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Fri Sep 14 18:05:25 CEST 2007
SVN commit 712511 by treat:
* Only layout direct child items, not grandchildren.
M +2 -2 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #712510:712511
@@ -1254,7 +1254,7 @@
foreach (QGraphicsItem *item, list) {
ViewItem *viewItem = dynamic_cast<ViewItem*>(item);
- if (!viewItem)
+ if (!viewItem || viewItem->parentItem() != _item)
continue;
viewItems.append(viewItem);
}
@@ -1291,7 +1291,7 @@
foreach (QGraphicsItem *item, list) {
ViewItem *viewItem = dynamic_cast<ViewItem*>(item);
- if (!viewItem)
+ if (!viewItem || viewItem->parentItem() != _item)
continue;
viewItems.append(viewItem);
}
More information about the Kst
mailing list