r24864 by craig - Qt6 build fix

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 30 15:58:45 UTC 2022


Author: craig
Date: Sun Jan 30 15:58:45 2022
New Revision: 24864

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24864
Log:
Qt6 build fix

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

Modified: trunk/Scribus/scribus/text/screenpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24864&path=/trunk/Scribus/scribus/text/screenpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/text/screenpainter.cpp	(original)
+++ trunk/Scribus/scribus/text/screenpainter.cpp	Sun Jan 30 15:58:45 2022
@@ -56,7 +56,7 @@
 		setupState(false);
 
 		cairo_t* cr = m_painter->context();
-		double r, g, b;
+		float r, g, b;
 		m_painter->brush().getRgbF(&r, &g, &b);
 		cairo_set_source_rgba(cr, r, g, b, m_painter->brushOpacity());
 		m_painter->setRasterOp(m_painter->blendModeFill());




More information about the scribus-commit mailing list