diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-11-20 20:03:49 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-11-20 20:30:30 +0000 |
commit | 27e08b0c40b73edc5354f9ad3cf7e5e660243553 (patch) | |
tree | 68e5b34b6cb392b564aef527d93456544d59922c /src | |
parent | 1d14067680f02f47b2f8ff375c44eb64633eec02 (diff) |
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'
Pick-to: 6.0 6.0.0
Change-Id: I8eb0e3c5b72f8542cd3bd11514b12d308481f250
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/printsupport/platform/windows/qprintengine_win.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/printsupport/platform/windows/qprintengine_win.cpp b/src/printsupport/platform/windows/qprintengine_win.cpp index 3d4a0cfd7a..454bcab069 100644 --- a/src/printsupport/platform/windows/qprintengine_win.cpp +++ b/src/printsupport/platform/windows/qprintengine_win.cpp @@ -750,8 +750,6 @@ void QWin32PrintEnginePrivate::fillPath(const QPainterPath &path, const QColor & void QWin32PrintEnginePrivate::strokePath(const QPainterPath &path, const QColor &color) { - Q_Q(QWin32PrintEngine); - QPainterPathStroker stroker; if (pen.style() == Qt::CustomDashLine) { stroker.setDashPattern(pen.dashPattern()); |