[Uml-devel] kdesdk/umbrello/umbrello
Jonathan Riddell
jr at jriddell.org
Tue Apr 12 16:39:09 UTC 2005
CVS commit by jriddell:
Tidy enums, patch from Andreas Fischer <andi.fischer @gmx.ch>
M +4 -1 statewidget.cpp 1.26
--- kdesdk/umbrello/umbrello/statewidget.cpp #1.25:1.26
@@ -86,5 +86,5 @@ void StateWidget::draw(QPainter & p, int
p.drawEllipse( offsetX, offsetY, w, h );
break;
- default :
+ case End :
p.setBrush( UMLWidget::getLineColour() );
p.drawEllipse( offsetX, offsetY, w, h );
@@ -94,4 +94,7 @@ void StateWidget::draw(QPainter & p, int
p.drawEllipse( offsetX + 3, offsetY + 3, w - 6, h - 6 );
break;
+ default:
+ kdWarning() << "Unknown state type:" << m_StateType << endl;
+ break;
}
if(m_bSelected)
More information about the umbrello-devel
mailing list