diff options
author | Liang Qi <liang.qi@qt.io> | 2016-12-08 08:20:36 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-12-08 08:20:36 +0100 |
commit | cae32bd04d117ba2423a8c4db12f8d2d5b809bcb (patch) | |
tree | 179cc91b4b34b9e7ec587d576e42d89fc13fec43 /src/gui/opengl | |
parent | e1a70ce495928e8d81e80b11d7dbd4c4913ee438 (diff) | |
parent | 04f68053df5c90dca6947c6d2a5bb4e6851e62bb (diff) |
Merge remote-tracking branch 'origin/5.7' into 5.8.0
Change-Id: I576187a9905802c177ae483e6c29d0f55cf7034d
Diffstat (limited to 'src/gui/opengl')
-rw-r--r-- | src/gui/opengl/qopenglpaintdevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h index 27b7fba84f..300002a9c1 100644 --- a/src/gui/opengl/qopenglpaintdevice.h +++ b/src/gui/opengl/qopenglpaintdevice.h @@ -61,8 +61,8 @@ public: QOpenGLPaintDevice(int width, int height); virtual ~QOpenGLPaintDevice(); - int devType() const { return QInternal::OpenGL; } - QPaintEngine *paintEngine() const; + int devType() const override { return QInternal::OpenGL; } + QPaintEngine *paintEngine() const override; QOpenGLContext *context() const; QSize size() const; @@ -82,7 +82,7 @@ public: protected: QOpenGLPaintDevice(QOpenGLPaintDevicePrivate &dd); - int metric(QPaintDevice::PaintDeviceMetric metric) const; + int metric(QPaintDevice::PaintDeviceMetric metric) const override; Q_DISABLE_COPY(QOpenGLPaintDevice) QScopedPointer<QOpenGLPaintDevicePrivate> d_ptr; |