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

Oliver Kellogg okellogg at users.sourceforge.net
Sat Aug 20 22:02:14 UTC 2005


SVN commit 451557 by okellogg:

m_SelectionRect: Remove.

 M  +0 -3      umlview.cpp  
 M  +0 -5      umlview.h  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlview.cpp #451556:451557
@@ -165,7 +165,6 @@
     setDragAutoScroll(false);
 
     viewport() -> setMouseTracking(false);
-    //m_SelectionRect.setAutoDelete( true );
 
     // TODO: Still needed at some places.
     m_CurrentCursor = WorkToolBar::tbb_Arrow;
@@ -193,7 +192,6 @@
         delete m_pAssocLine;
         m_pAssocLine = NULL;
     }
-    //m_SelectionRect.clear();
 
     // before we can delete the QCanvas, all widgets must be explicitly
     // removed
@@ -2042,7 +2040,6 @@
 bool UMLView::setAssoc(UMLWidget *pWidget) {
     Association_Type type = convert_TBB_AT(m_CurrentCursor);
     m_bDrawRect = false;
-    m_SelectionRect.clear();
     //if this we are not concerned here so return
     if (m_CurrentCursor < WorkToolBar::tbb_Generalization ||
             m_CurrentCursor > WorkToolBar::tbb_Anchor) {
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlview.h #451556:451557
@@ -1246,11 +1246,6 @@
     UMLWidget * m_pOnWidget;
 
     /**
-     * Holds the Canvas lines for the selection rectangle.
-     */
-    QPtrList<QCanvasLine> m_SelectionRect;
-
-    /**
      * The Line used to show a join between objects as an association is being made.
      */
     QCanvasLine * m_pAssocLine;




More information about the umbrello-devel mailing list