diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-11-20 20:03:49 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-11-21 03:20:35 +0000 |
commit | 28b419c733534ffcfa6c8bdcca8fcf95b9d5ec37 (patch) | |
tree | 3440b357fb7dd5f79a1870fdc99cb90d3a4710f2 | |
parent | 8335305df34f574b3f6e1df37bc9c0f41aff1cfe (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'
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>
-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()); |