diff options
author | Liang Qi <liang.qi@qt.io> | 2021-07-06 20:32:25 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2021-07-06 20:44:47 +0200 |
commit | 0db58b62ee57fbe56f2f11dcfc5461d83de7dbda (patch) | |
tree | df2f87811c494d05ecd8a83787141899fd65b1d4 | |
parent | c5e45d735c2910fd327abe8074c44724504cf9db (diff) |
opengl: fix a typo in QOpenGLPaintDevice::dotsPerMeterY()
Fixes: QTBUG-95005
Change-Id: I88ab9b757a5cfee520e07ac6280e31f9211342f0
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit 85831bcfe6ce36740c524d641ada79c65aadd89b)
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r-- | src/gui/opengl/qopenglpaintdevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp index 3a0c02feb0..ce00dfd873 100644 --- a/src/gui/opengl/qopenglpaintdevice.cpp +++ b/src/gui/opengl/qopenglpaintdevice.cpp @@ -331,7 +331,7 @@ void QOpenGLPaintDevice::setDotsPerMeterX(qreal dpmx) void QOpenGLPaintDevice::setDotsPerMeterY(qreal dpmy) { - d_ptr->dpmx = dpmy; + d_ptr->dpmy = dpmy; } /*! |