[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Dec 13 15:52:01 UTC 2004


CVS commit by okellogg: 

loadUisDiagramPresentation(): Supply the UMLAssociation at AssocWidget construction.


  M +2 -1      umlview.cpp   1.195


--- kdesdk/umbrello/umbrello/umlview.cpp  #1.194:1.195
@@ -2319,4 +2319,5 @@ void UMLView::createAutoAssociations( UM
                 assocwidget->setWidget(widgetB, B);
                 assocwidget->setAssocType(assocType);
+                assocwidget->setUMLObject(assoc);
                 // Call calculateEndingPoints() before setting the FloatingTexts
                 // because their positions are computed according to the
@@ -3556,5 +3557,5 @@ bool UMLView::loadUisDiagramPresentation
                                         if (wA != NULL && wB != NULL) {
                                                 AssociationWidget *aw =
-                                                    new AssociationWidget(this, wA, at, wB);
+                                                    new AssociationWidget(this, wA, at, wB, umla);
                                                 QString multiA = umla->getMulti(Uml::A);
                                                 if (!multiA.isEmpty())






More information about the umbrello-devel mailing list