From 749047aa6a4b1cb7fa2dedd0d2d72060cf1656ea Mon Sep 17 00:00:00 2001
From: Marco Bubke <marco.bubke@nokia.com>
Date: Wed, 31 Mar 2010 18:50:48 +0200
Subject: [PATCH] Fix selection for the rubberband

Task-Number: BAUHAUS-519
---
 .../components/formeditor/rubberbandselectionmanipulator.cpp   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp b/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp
index 34bd356653d..672d5e3d064 100644
--- a/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp
@@ -93,8 +93,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType)
     if (!m_beginFormEditorItem)
         return;
 
-    QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(),
-                                                                  Qt::IntersectsItemBoundingRect);
+    QList<QGraphicsItem*> itemList = m_editorView->scene()->items(m_selectionRectangleElement.rect(), Qt::IntersectsItemShape);
     QList<QmlItemNode> newNodeList;
 
     foreach (QGraphicsItem* item, itemList)
-- 
GitLab