[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Dec 15 14:37:04 UTC 2003


CVS commit by okellogg: 

Remove relics from the crossed line fixing frenzy.


  M +6 -2      associationwidget.cpp   1.74


--- kdesdk/umbrello/umbrello/associationwidget.cpp  #1.73:1.74
@@ -1155,5 +1155,10 @@ void AssociationWidget::doUpdates(Region
         } else {
                 updateRegionLineCount( index, totalCount, region, role );
-                updateAssociations( totalCount, region, role );
+                /*
+                 * This update does not seem to be required after all.
+                 * Nevertheless, if you experience strange crossed lines,
+                 * try uncommenting the following:
+                 */
+                // updateAssociations( totalCount, region, role );
         }
 }
@@ -2581,5 +2586,4 @@ void AssociationWidget::updateAssociatio
                                 aCond = (inWidgetARegion && otherWidget->x() > wB->x());
                                 bCond = (inWidgetBRegion && otherWidget->x() > wA->x());
-                                if (bCond)
                                 if ( aCond || bCond ) {
 #ifdef DEBUG_ASSOCLINES






More information about the umbrello-devel mailing list