[Uml-devel] kdesdk/umbrello/umbrello
Klas Kalass
klas.kalass at gmx.de
Mon Mar 17 11:18:32 UTC 2003
CVS commit by kalass:
fixed crash that ocured when closing the diagram properties dialog via 'OK'.
I do not know how this situation can occur, but it should not crash anyways
M +2 -2 linepath.cpp 1.4
--- kdesdk/umbrello/umbrello/linepath.cpp #1.3:1.4
@@ -286,7 +286,7 @@ void LinePath::setLineColor( QColor colo
if( getAssocType() == at_Aggregation )
- m_pClearPoly -> setBrush( QBrush( white ) );
+ if (m_pClearPoly) m_pClearPoly -> setBrush( QBrush( white ) );
else if( getAssocType() == at_Composition )
- m_pClearPoly -> setBrush( QBrush( color ) );
+ if (m_pClearPoly) m_pClearPoly -> setBrush( QBrush( color ) );
if( m_pEllipse )
More information about the umbrello-devel
mailing list