[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/umbrello/umbrello
From:       Andi Fischer <andi.fischer () hispeed ! ch>
Date:       2012-11-10 16:19:30
Message-ID: 20121110161930.E855EAC857 () svn ! kde ! org
[Download RAW message or body]

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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic