[Uml-devel] kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Tue Oct 12 14:32:01 UTC 2004
CVS commit by jriddell:
Take out obsolete debugging kludge.
M +8 -20 associationwidget.cpp 1.127
--- kdesdk/umbrello/umbrello/associationwidget.cpp #1.126:1.127
@@ -1078,10 +1078,4 @@ void AssociationWidget::doUpdates(int ot
int regionCount = getRegionCount(region, role) + 2;//+2 = (1 for this one and one to halve it)
int totalCount = m_role[role].m_nTotalCount;
-#ifdef DEBUG_ASSOCLINES
- kdDebug() << endl;
- kdDebug() << "doUpdates (role=" << role << "): widget=" << pWidget->getName()
- << " region=" << region << " regionCount=" << regionCount
- << " totalCount=" << totalCount << endl;
-#endif
if( oldRegion != region ) {
updateRegionLineCount( regionCount - 1, regionCount, region, role );
@@ -2421,10 +2415,4 @@ void AssociationWidget::updateAssociatio
AssociationWidget* assocwidget = 0;
UMLWidget *ownWidget = m_role[role].m_pWidget;
-#ifdef DEBUG_ASSOCLINES
- Role_Type other = (role == A ? B : A);
- kdDebug() << "looking at assoc type " << getAssocType()
- << "; own widget: " << ownWidget->getName() << ", other end: "
- << m_role[other].m_pWidget->getName() << endl;
-#endif
m_positions_len = 0;
m_ordered.clear();
More information about the umbrello-devel
mailing list