[Uml-devel] branches/work/soc-umbrello/umbrello/widgets
Ralf Habacker
ralf.habacker at gmail.com
Sun Jan 8 01:53:18 UTC 2012
SVN commit 1272370 by habacker:
added note
M +2 -0 forkjoinwidget.cpp
--- branches/work/soc-umbrello/umbrello/widgets/forkjoinwidget.cpp #1272369:1272370
@@ -63,6 +63,7 @@
if ( !UMLWidget::loadFromXMI(qElement) ) {
return false;
}
+ // FIXME: This attribute is incompatible with trunk xmi format !!!
QString orientation = qElement.attribute("orientation",
QString::number(Qt::Horizontal));
setOrientation( (Qt::Orientation)orientation.toInt() );
@@ -77,6 +78,7 @@
{
QDomElement fjElement = qDoc.createElement("forkjoin");
UMLWidget::saveToXMI(qDoc, fjElement);
+ // FIXME: This creates an incompatible xmi format !!!
fjElement.setAttribute("orientation", m_orientation);
qElement.appendChild(fjElement);
}
More information about the umbrello-devel
mailing list