[qet] [4308] Minor change

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4308
Author:   blacksun
Date:     2016-01-05 15:56:44 +0100 (Tue, 05 Jan 2016)
Log Message:
-----------
Minor change

Modified Paths:
--------------
    trunk/sources/qetxml.cpp

Modified: trunk/sources/qetxml.cpp
===================================================================
--- trunk/sources/qetxml.cpp	2016-01-03 20:41:34 UTC (rev 4307)
+++ trunk/sources/qetxml.cpp	2016-01-05 14:56:44 UTC (rev 4308)
@@ -57,7 +57,11 @@
 {
     QPen pen;
 
-	if (!(!element.isNull() && element.tagName() == "pen")) return pen;
+	if (!(!element.isNull() && element.tagName() == "pen"))
+	{
+		pen.setStyle(Qt::DashLine);
+		return pen;
+	}
 
 	QString style = element.attribute("style", "DashLine");
 	if      (style == "SolidLine")      pen.setStyle(Qt::SolidLine);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/