QWin32PrintEngine: fix compilation
On MinGW32 it fails with error: .../src/corelib/global/global.h: 1186:34: error: unused variable 'q' ...qprintengine_win.cpp: 753:5: note: in expansion of macro 'Q_Q' Change-Id: I8eb0e3c5b72f8542cd3bd11514b12d308481f250 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 27e08b0c40b73edc5354f9ad3cf7e5e660243553) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8335305df3
commit
28b419c733
@ -750,8 +750,6 @@ void QWin32PrintEnginePrivate::fillPath(const QPainterPath &path, const QColor &
|
|||||||
|
|
||||||
void QWin32PrintEnginePrivate::strokePath(const QPainterPath &path, const QColor &color)
|
void QWin32PrintEnginePrivate::strokePath(const QPainterPath &path, const QColor &color)
|
||||||
{
|
{
|
||||||
Q_Q(QWin32PrintEngine);
|
|
||||||
|
|
||||||
QPainterPathStroker stroker;
|
QPainterPathStroker stroker;
|
||||||
if (pen.style() == Qt::CustomDashLine) {
|
if (pen.style() == Qt::CustomDashLine) {
|
||||||
stroker.setDashPattern(pen.dashPattern());
|
stroker.setDashPattern(pen.dashPattern());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user