r21352 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue May 24 20:57:32 UTC 2016


Author: jghali
Date: Tue May 24 20:57:32 2016
New Revision: 21352

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21352
Log:
#14094: Underline and Underline Words function: changing line width has no effect

Modified:
    trunk/Scribus/scribus/text/screenpainter.cpp

Modified: trunk/Scribus/scribus/text/screenpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21352&path=/trunk/Scribus/scribus/text/screenpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/text/screenpainter.cpp	(original)
+++ trunk/Scribus/scribus/text/screenpainter.cpp	Tue May 24 20:57:32 2016
@@ -337,7 +337,7 @@
 			m_strokeColor = strokeColor();
 		}
 		m_painter->setBrush(m_fillQColor);
-		m_painter->setPen(m_fillStrokeQColor, 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
+		m_painter->setPen(m_fillStrokeQColor, strokeWidth(), Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
 	}
 
 	m_painter->translate(x(), y());




More information about the scribus-commit mailing list