summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorZhang Hao <zhanghao@uniontech.com>2021-09-07 14:50:22 +0800
committerZhang Hao <zhanghao@uniontech.com>2021-09-07 12:00:56 +0000
commitcca8ed0547405b1c018e995ad366ba0ab4c2a0e8 (patch)
tree008ffecaf40949f74122f62050037d19fc794061 /src/gui
parente94f75fc501742992bf064242c47afeba2d00dca (diff)
QPaintEngineEx: solve compile error
Use the same variable name in function Amends 6869d2463a2e0d71bd04dbc82f5d6ef4933dc510 Pick-to: 6.1 6.2 Change-Id: If710a53993e84d048f9052f4fcf92eb57635f585 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpaintengineex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp
index 3577d71869..b6c0a9e1ff 100644
--- a/src/gui/painting/qpaintengineex.cpp
+++ b/src/gui/painting/qpaintengineex.cpp
@@ -388,7 +388,7 @@ Q_GUI_EXPORT extern bool qt_scaleForTransform(const QTransform &transform, qreal
void QPaintEngineEx::stroke(const QVectorPath &path, const QPen &inPen)
{
#ifdef QT_DEBUG_DRAW
- qDebug() << "QPaintEngineEx::stroke()" << pen;
+ qDebug() << "QPaintEngineEx::stroke()" << inPen;
#endif
Q_D(QPaintEngineEx);