[Uml-devel] kdesdk/umbrello/umbrello

David Faure faure at kde.org
Mon Sep 8 18:29:13 UTC 2003


CVS commit by faure: 

Initialize your member variables - a (newly created) class was sometimes drawn as a rectangle,
sometimes as an actor. valgrind helped once again.
PS: Umbrello barfs on older .xmi files - did the file format change, or shall I file a BR?


  M +2 -0      objectwidget.cpp   1.23


--- kdesdk/umbrello/umbrello/objectwidget.cpp  #1.22:1.23
@@ -33,4 +33,5 @@ ObjectWidget::ObjectWidget(UMLView * vie
         m_InstanceName = "";
         m_bMultipleInstance = false;
+        m_bDrawAsActor = false;
         calculateSize();
         init();
@@ -42,4 +43,5 @@ ObjectWidget::ObjectWidget(UMLView *view
         m_InstanceName = "";
         m_bMultipleInstance = false;
+        m_bDrawAsActor = false;
         init();
 }






More information about the umbrello-devel mailing list