Improvement at AssociationWidget static method findInterceptOnEdge :
umbrello/umlwidgets/associationwidget.{h,cpp} - At function findInterceptOnEdge, - change return type to bool where true indicates success and false indicates error; - add reference argument qreal &result returning what was formerly the function return value. umbrello/umlwidgets/associationwidget.cpp - In function updateAssociations foreach-loop over list, - add debug message showing all relevant data before call to findInterceptOnEdge(); - adjust call of findInterceptOnEdge() to the changed signature. - In function updateRegionLineCount calculation of QPointF pt add debug message showing the relevant data.
parent
266b5b93