[Uml-devel] branches/work/soc-umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Tue Apr 3 06:47:17 UTC 2012


SVN commit 1288055 by habacker:

Compile fix.

 M  +2 -2      umlscene.cpp  


--- branches/work/soc-umbrello/umbrello/umlscene.cpp #1288054:1288055
@@ -3885,10 +3885,10 @@
     QString snapy = qElement.attribute("snapy", "10");
     m_layoutGrid->setGridSpacing(snapx.toInt(), snapy.toInt());
 
-    QString height = qElement.attribute("canvasheight", QString("%1").arg(DEFAULT_CANVAS_SIZE));
+    QString height = qElement.attribute("canvasheight", QString("%1").arg(defaultCanvasSize));
     qreal canvasHeight = height.toDouble();
 
-    QString width = qElement.attribute("canvaswidth", QString("%1").arg(DEFAULT_CANVAS_SIZE));
+    QString width = qElement.attribute("canvaswidth", QString("%1").arg(defaultCanvasSize));
     qreal canvasWidth = width.toDouble();
     setSceneRect(0, 0, canvasWidth, canvasHeight);
 




More information about the umbrello-devel mailing list