summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2021-07-06 12:00:17 +0200
committerLiang Qi <liang.qi@qt.io>2021-07-06 15:56:09 +0200
commit85831bcfe6ce36740c524d641ada79c65aadd89b (patch)
tree859debd3c4961fcf2929e6b8b3ca8a99740ff1bc /src/opengl
parent1d6e9c786d1bee22b868632d6182e1b04eed2cc7 (diff)
opengl: fix a typo in QOpenGLPaintDevice::dotsPerMeterY()
Fixes: QTBUG-95005 Pick-to: 6.2 6.1 5.15 5.12 Change-Id: I88ab9b757a5cfee520e07ac6280e31f9211342f0 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qopenglpaintdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglpaintdevice.cpp b/src/opengl/qopenglpaintdevice.cpp
index 811425cf69..158dacf241 100644
--- a/src/opengl/qopenglpaintdevice.cpp
+++ b/src/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;
}
/*!