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

Andi Fischer andi.fischer at hispeed.ch
Sat Nov 10 16:19:30 UTC 2012


SVN commit 1324726 by fischer:

Unnecessary function canvas() removed.

 M  +0 -5      umlscene.h  
 M  +1 -1      widgets/associationwidget.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.h #1324725:1324726
@@ -93,11 +93,6 @@
     UMLScene(UMLFolder *parentFolder, UMLView *view=0);
     virtual ~UMLScene();
 
-    UMLScene *canvas()
-    {
-        return this;
-    }
-
     UMLView* activeView() const;
 
     // Accessors and other methods dealing with loaded/saved data
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/associationwidget.cpp #1324725:1324726
@@ -3781,7 +3781,7 @@
 {
     if (m_pAssocClassLine == NULL)
         return false;
-    UMLSceneItemList list = m_scene->canvas()->collisions(point);
+    UMLSceneItemList list = m_scene->collisions(point);
     UMLSceneItemList::iterator end(list.end());
     for (UMLSceneItemList::iterator item_it(list.begin()); item_it != end; ++item_it) {
         if (*item_it == m_pAssocClassLine)




More information about the umbrello-devel mailing list