[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
Oliver.Kellogg at t-online.de
Mon Sep 8 20:25:29 UTC 2003
CVS commit by okellogg:
init(): Add missing initialization. Thanks to David Faure for the inspiration.
M +1 -0 activitywidget.cpp 1.9
M +4 -1 statewidget.cpp 1.9
--- kdesdk/umbrello/umbrello/activitywidget.cpp #1.8:1.9
@@ -25,4 +25,5 @@ ActivityWidget::ActivityWidget(UMLView *
////////////////////////////////////////////////////////////////////////////////////////////////////
ActivityWidget::ActivityWidget(UMLView * view) : UMLWidget(view) {
+ m_ActivityType = ActivityWidget::Normal;
UMLWidget::setBaseType( wt_Activity );
calculateSize();
--- kdesdk/umbrello/umbrello/statewidget.cpp #1.8:1.9
@@ -18,6 +18,7 @@
StateWidget::StateWidget(UMLView * view, StateType stateType) : UMLWidget(view) {
- m_StateType = stateType;
UMLWidget::setBaseType(wt_State);
+ m_StateType = stateType;
+ m_Name = "State";
calculateSize();
}
@@ -25,4 +26,6 @@ StateWidget::StateWidget(UMLView * view,
StateWidget::StateWidget(UMLView * view) : UMLWidget(view) {
UMLWidget::setBaseType(wt_State);
+ m_StateType = StateWidget::Normal;
+ m_Name = "State";
calculateSize();
}
More information about the umbrello-devel
mailing list