[Uml-devel] branches/work/soc-umbrello/umbrello/widgets
Gopala Krishna A
krishna.ggk at gmail.com
Fri Jul 17 15:34:47 UTC 2009
SVN commit 998406 by gopala:
Remove confusing and side effect causable optimization.
M +0 -10 classifierwidget.cpp
--- branches/work/soc-umbrello/umbrello/widgets/classifierwidget.cpp #998405:998406
@@ -360,12 +360,6 @@
QString showscope = qElement.attribute( "showscope", "0" );
QString drawascircle = qElement.attribute("drawascircle", "0");
- // Save scene and remove this item to prevent too many updates.
- UMLScene *saved = umlScene();
- if (saved) {
- saved->removeItem(this);
- }
-
setVisualProperty(ShowAttributes, (bool)showatts.toInt());
setVisualProperty(ShowOperations, (bool)showops.toInt());
setVisualProperty(ShowPublicOnly, (bool)showpubliconly.toInt());
@@ -376,10 +370,6 @@
setAttributeSignature((Uml::Signature_Type)showattsigs.toInt());
setOperationSignature((Uml::Signature_Type)showopsigs.toInt());
- // Now place this item back in the scene it belonged to.
- if (saved) {
- saved->addItem(this);
- }
return true;
}
More information about the umbrello-devel
mailing list