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

Ralf Habacker ralf.habacker at gmail.com
Mon Jan 16 18:04:25 UTC 2012


SVN commit 1273986 by habacker:

Fixed bug 'reseting' box widget size on copy/paste as mentioned in comment

The basic implementation of UMLWidget::calculateSize() should return
always recent size.

CCBUG: 70925

 M  +1 -1      umlwidget.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/umlwidget.cpp #1273985:1273986
@@ -249,7 +249,7 @@
  */
 QSize UMLWidget::calculateSize()
 {
-    return QSize(20, 20);
+    return QSize(getWidth(), getHeight());
 }
 
 /**




More information about the umbrello-devel mailing list