[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets

Andi Fischer andi.fischer at hispeed.ch
Sun Jan 8 17:36:55 UTC 2012


SVN commit 1272553 by fischer:

Compilation fixed. Please always compile before committing.

 M  +1 -1      forkjoinwidget.cpp  
 M  +3 -3      widgetbase.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/forkjoinwidget.cpp #1272552:1272553
@@ -88,7 +88,7 @@
 {
     QDomElement fjElement = qDoc.createElement("forkjoin");
     UMLWidget::saveToXMI(qDoc, fjElement);
-    fjElement.  ("drawvertical", m_drawVertical);
+    fjElement.setAttribute("drawvertical", m_drawVertical);
     qElement.appendChild(fjElement);
 }
 
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/widgetbase.cpp #1272552:1272553
@@ -23,8 +23,8 @@
  * @param scene      The view to be displayed on.
  */
 WidgetBase::WidgetBase(UMLScene *scene, WidgetType type)
-  : m_scene(scene),
-    m_Type(type)
+  : m_Type(type),
+    m_scene(scene)
 {
     init();
 }
@@ -34,7 +34,7 @@
  */
 void WidgetBase::init()
 {
-    m_pObject = NULL;
+    m_pObject = 0;
     if (m_scene) {
         m_usesDiagramLineColour = true;
         m_usesDiagramLineWidth  = true;




More information about the umbrello-devel mailing list