[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat Nov 27 09:35:07 UTC 2004


CVS commit by okellogg: 

mouseMoveEvent(): Don't update X, is it done by calculateWidget().


  M +0 -3      messagewidget.cpp   1.61


--- kdesdk/umbrello/umbrello/messagewidget.cpp  #1.60:1.61
@@ -665,5 +665,4 @@ void MessageWidget::mouseMoveEvent(QMous
         if( count > 2 )
                 newY = getY();  //only change y if not selected
-        newX = m_nPosX;
         newY = newY < getMinHeight() ? getMinHeight() : newY;
         newY = newY > getMaxHeight() ? getMaxHeight() : newY;
@@ -672,7 +671,5 @@ void MessageWidget::mouseMoveEvent(QMous
                 m_bMoved = true;
         }
-        m_nOldX = newX;
         m_nOldY = newY;
-        setX( newX );
         setY( newY );
         adjustAssocs(newX, newY);






More information about the umbrello-devel mailing list