- BoxItem* blockItem = new BoxItem(block,dispatcher,params,groupItem);
- blockItem->setZValue(1);
- addBlockItem(blockItem);
-}
-
-void GroupScene::addBlockItem(BoxItem* item) {
- // add item from the viewport
- //addItem(item);
+ BoxItem* item = new BoxItem(block,dispatcher,params,groupItem);
+ item->setZValue(1);