[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Sep 13 21:01:01 UTC 2005
SVN commit 460488 by okellogg:
init(): valgrind identifies m_bDrawAsCircle as uninitialized
UMLView::loadWidgetFromXMI() ->
ClassifierWidget(UMLView*, UMLClassifier*) ->
ClassifierWidget::init() ->
ClassifierWidget::setShowAttSigs() ->
ClassifierWidget::calculateSize()
M +3 -1 classifierwidget.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classifierwidget.cpp #460487:460488
@@ -71,9 +71,9 @@
m_bShowAttributes = ops.classState.showAtts;
m_bShowStereotype = ops.classState.showStereoType;
+ m_bDrawAsCircle = false;
setShowAttSigs( ops.classState.showAttSig );
m_pAssocWidget = NULL;
- m_bDrawAsCircle = false;
}
void ClassifierWidget::updateSigs() {
@@ -260,6 +260,8 @@
m_ShowAttSigs = Uml::st_ShowSig;
else
m_ShowAttSigs = Uml::st_SigNoScope;
+ if (UMLApp::app()->getDocument()->loading())
+ return;
calculateSize();
update();
}
More information about the umbrello-devel
mailing list