[Uml-devel] branches/KDE/4.7/kdesdk/umbrello/umbrello/widgets
Ralf Habacker
ralf.habacker at gmail.com
Sat Dec 31 13:15:51 UTC 2011
SVN commit 1270975 by habacker:
fixed bug having too small widget width on a common place
merged commit 1268739 and 1268761 from trunk
M +2 -3 umlwidget.cpp
--- branches/KDE/4.7/kdesdk/umbrello/umbrello/widgets/umlwidget.cpp #1270974:1270975
@@ -898,9 +898,8 @@
{
if (m_pDoc->loading())
return;
- const int w = getWidth();
- const int h = getHeight();
- setSize(w, h);
+ QSize size = calculateSize();
+ setSize(size.width(), size.height());
adjustAssocs(getX(), getY()); // adjust assoc lines
}
More information about the umbrello-devel
mailing list