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

Ralf Habacker ralf.habacker at gmail.com
Sun Jun 3 07:24:24 UTC 2012


SVN commit 1298057 by habacker:

Changed widget auto resizing to noop for now, because minimumSize()
do not work in all cases and need to be refactored.

BUG: 152757

 M  +1 -2      umlwidget.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/umlwidget.cpp #1298056:1298057
@@ -1295,8 +1295,7 @@
 {
     if (m_doc->loading())
         return;
-    QSize size = minimumSize();
-    setSize(size.width(), size.height());
+    setSize(width(), height());
     adjustAssocs(x(), y());    // adjust assoc lines
 }
 




More information about the umbrello-devel mailing list