[qet] [4305] Fix minor bug about the size of qpen stored in a xml

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


Revision: 4305
Author:   blacksun
Date:     2016-01-03 19:26:30 +0100 (Sun, 03 Jan 2016)
Log Message:
-----------
Fix minor bug about the size of qpen stored in a xml

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

Modified: trunk/sources/qetxml.cpp
===================================================================
--- trunk/sources/qetxml.cpp	2016-01-03 16:59:29 UTC (rev 4304)
+++ trunk/sources/qetxml.cpp	2016-01-03 18:26:30 UTC (rev 4305)
@@ -42,7 +42,7 @@
 
 	element.setAttribute("style", style);
 	element.setAttribute("color", pen.color().name());
-	element.setAttribute("widthF", pen.widthF());
+	element.setAttribute("widthF", QString::number(pen.widthF()));
     return element;
 }
 


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