[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Sep 18 07:52:02 UTC 2004
CVS commit by okellogg:
moveBy() : Call adjustAssocs().
M +5 -2 umlwidget.cpp 1.100
--- kdesdk/umbrello/umbrello/umlwidget.cpp #1.99:1.100
@@ -815,6 +815,9 @@ bool UMLWidget::onWidget(const QPoint &
void UMLWidget::moveBy(int dx, int dy) {
- setX(getX() + dx);
- setY(getY() + dy);
+ int newX = getX() + dx;
+ int newY = getY() + dy;
+ setX(newX);
+ setY(newY);
+ adjustAssocs(newX, newY);
}
More information about the umbrello-devel
mailing list