[Uml-devel] kdesdk/umbrello/umbrello
Sebastian Stein
seb.kde at hpfsc.de
Sat Oct 4 11:13:04 UTC 2003
CVS commit by sstein:
dirty fix for bug #65410
This is not a real fix, please see the comment in the bug database and the compiler warning I added!
M +4 -0 classwidget.cpp 1.13
--- kdesdk/umbrello/umbrello/classwidget.cpp #1.12:1.13
@@ -69,4 +69,6 @@ void ClassWidget::draw(QPainter & p, int
return;
}
+#warning calculateSize() should be removed from ClassWidget::draw(...) because: see bug #65410
+ calculateSize();
p.setPen( UMLWidget::getLineColour() );
if ( UMLWidget::getUseFillColour() )
@@ -344,4 +346,6 @@ void ClassWidget::slotMenuSelection(int
case ListPopupMenu::mt_Operation:
m_pView->getDocument()->createUMLObject(m_pObject, ListPopupMenu::convert_MT_OT( (ListPopupMenu::Menu_Type)sel) );
+ calculateSize();
+ update();
break;
More information about the umbrello-devel
mailing list