summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-11-12 15:54:07 +0100
committerAndreas Buhr <andreas.buhr@qt.io>2020-11-13 10:08:49 +0100
commitc87692a48b053b830ca192a2580f7d27723f16df (patch)
tree8c78f3b042367ad4850e4af0d65099595b8809ca /src/printsupport
parent1c56ff73aa7f81d543f1b697c2db8cb2b67697ab (diff)
remove unused variables and parameters to fix compilation with g++-10.2
The changes in 94dd2cebdcb9446626cd32a00086431eb11ab2a4, "Remove Qt4Compatible painting" left some unused variables and parameters. This leads to warnings which are treted as errors and thus inhibit a successful build with g++-10.2. This patch removes them and thus enables building with g++-10.2 again. Change-Id: I5f83aa8ec8706c3e783540f5116f455ea8fe44c2 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/printsupport')
-rw-r--r--src/printsupport/kernel/qpaintengine_alpha.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qpaintengine_alpha.cpp b/src/printsupport/kernel/qpaintengine_alpha.cpp
index 05a774656b..a394ca378d 100644
--- a/src/printsupport/kernel/qpaintengine_alpha.cpp
+++ b/src/printsupport/kernel/qpaintengine_alpha.cpp
@@ -407,8 +407,6 @@ QAlphaPaintEnginePrivate::~QAlphaPaintEnginePrivate()
QRectF QAlphaPaintEnginePrivate::addPenWidth(const QPainterPath &path)
{
- Q_Q(QAlphaPaintEngine);
-
QPainterPath tmp = path;
if (m_pen.style() == Qt::NoPen)