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

Oliver Kellogg okellogg at users.sourceforge.net
Wed Mar 1 15:16:03 UTC 2006


SVN commit 514928 by okellogg:

cosmetics

 M  +3 -5      associationwidget.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/associationwidget.cpp #514927:514928
@@ -2526,12 +2526,10 @@
         //create moving point near the mouse on the line
         int i = m_LinePath.onLinePath(me->pos());
 
-        if (i > -1)
-        {
-            m_LinePath.insertPoint( i + 1, me->pos() );
-            m_nMovingPoint = i + 1;
-        } else
+        if (i == -1)
             return;
+        m_LinePath.insertPoint( i + 1, me->pos() );
+        m_nMovingPoint = i + 1;
     }
     
     setSelected();




More information about the umbrello-devel mailing list