r13952 by fschmid - Fixed build issue when building with Qt's QPainter selected as rendering engine.

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 4 00:15:15 CEST 2009


Revision: 13952
Author: fschmid
Date: 2009-09-03T22:14:20.175104Z
Commit message: Fixed build issue when building with Qt's QPainter selected as rendering engine.

Changeset: 
M  /trunk/Scribus/scribus/scpainter.cpp

Diffs:
Index: scribus/scpainter.cpp
===================================================================
--- scribus/scpainter.cpp	(revision 13951)
+++ scribus/scpainter.cpp	(revision 13952)
@@ -1095,7 +1095,7 @@
 			qmatrix.scale(patternScaleX, patternScaleY);
 			qmatrix.scale(m_pattern->width / static_cast<double>(m_pattern->getPattern()->width()), m_pattern->height / static_cast<double>(m_pattern->getPattern()->height()));
 			QBrush brush = QBrush(*m_pattern->getPattern());
-			brush.setMatrix(qmatrix);
+			brush.setTransform(qmatrix);
 			painter.rotate(0.0001);	// hack to get Qt-4's strange pattern rendering working
 			painter.setOpacity(fill_trans);
 			painter.fillPath(m_path, brush);




More information about the scribus-commit mailing list