[Uml-devel] KDE/kdesdk/umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Sun Nov 18 12:23:08 UTC 2012


SVN commit 1325501 by habacker:

Fixed selection of assocation lines.

 M  +4 -1      umlscene.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.cpp #1325500:1325501
@@ -1563,7 +1563,10 @@
 
 UMLSceneItemList UMLScene::collisions(const UMLScenePoint &p)
 {
-    return items(p);
+    QPointF a = p-QPointF(3,3);
+    QPointF b = p+QPointF(3,3);
+    QList<QGraphicsItem *> list = items(QRectF(a,b));
+    return list;
 }
 
 /**




More information about the umbrello-devel mailing list