Fix selection for the rubberband

Task-Number: BAUHAUS-519
This commit is contained in:
Marco Bubke
2010-03-31 18:50:48 +02:00
committed by Kai Koehne
parent 14714e38eb
commit 749047aa6a

View File

@@ -93,8 +93,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType)
if (!m_beginFormEditorItem) if (!m_beginFormEditorItem)
return; return;
QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(), QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(), Qt::IntersectsItemShape);
Qt::IntersectsItemBoundingRect);
QList<QmlItemNode> newNodeList; QList<QmlItemNode> newNodeList;
foreach (QGraphicsItem* item, itemList) foreach (QGraphicsItem* item, itemList)