[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets

Ralf Habacker ralf.habacker at gmail.com
Thu Jan 12 12:12:07 UTC 2012


SVN commit 1273258 by habacker:

Fixed wrong location in code, which makes it easier to read.

 M  +1 -2      widgetbase.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/widgetbase.cpp #1273257:1273258
@@ -299,8 +299,6 @@
     // earlier versions of Umbrello
     QString lineColor = qElement.attribute( "linecolour", "none" );
     lineColor = qElement.attribute( "linecolor", lineColor );
-
-    QString lineWidth = qElement.attribute( "linewidth", "none" );
     if (lineColor != "none") {
         setLineColor( QColor(lineColor) );
         m_usesDiagramLineColor = false;
@@ -308,6 +306,7 @@
         setLineColor( m_scene->getLineColor() );
         m_usesDiagramLineColor = true;
     }
+    QString lineWidth = qElement.attribute( "linewidth", "none" );
     if (lineWidth != "none") {
         setLineWidth( lineWidth.toInt() );
         m_usesDiagramLineWidth = false;




More information about the umbrello-devel mailing list