[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets
Ralf Habacker
ralf.habacker at gmail.com
Fri Aug 17 21:45:08 UTC 2012
SVN commit 1311396 by habacker:
Fixed some crashes in undo framework.
BUG:119868
BUG:266789
M +5 -6 umlwidget.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/umlwidget.cpp #1311395:1311396
@@ -550,10 +550,10 @@
return;
}
if (m_usesDiagramFillColor) {
- m_FillColor = m_scene->fillColor();
+ WidgetBase::setFillColor(m_scene->fillColor());
}
if (m_usesDiagramUseFillColor) {
- m_useFillColor = m_scene->useFillColor();
+ WidgetBase::setUseFillColor(m_scene->useFillColor());
}
update();
}
@@ -568,7 +568,7 @@
//only change if on the diagram concerned
if (m_scene->ID() != viewID)
return;
- setTextColor( m_scene->textColor() );
+ WidgetBase::setTextColor(m_scene->textColor());
update();
}
@@ -585,8 +585,7 @@
return;
if (m_usesDiagramLineColor) {
- m_LineColor = m_scene->lineColor();
- setLineColor( m_LineColor );
+ WidgetBase::setLineColor(m_scene->lineColor());
}
update();
}
@@ -603,7 +602,7 @@
return;
}
if (m_usesDiagramLineWidth) {
- m_LineWidth = m_scene->lineWidth();
+ WidgetBase::setLineWidth(m_scene->lineWidth());
}
update();
}
More information about the umbrello-devel
mailing list