diff options
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r-- | src/opengl/qglpixelbuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h index d4b88598af..975fe4706e 100644 --- a/src/opengl/qglpixelbuffer.h +++ b/src/opengl/qglpixelbuffer.h @@ -75,14 +75,14 @@ public: Qt::HANDLE handle() const; QImage toImage() const; - QPaintEngine *paintEngine() const; + QPaintEngine *paintEngine() const Q_DECL_OVERRIDE; QGLFormat format() const; static bool hasOpenGLPbuffers(); protected: - int metric(PaintDeviceMetric metric) const; - int devType() const { return QInternal::Pbuffer; } + int metric(PaintDeviceMetric metric) const Q_DECL_OVERRIDE; + int devType() const Q_DECL_OVERRIDE { return QInternal::Pbuffer; } private: Q_DISABLE_COPY(QGLPixelBuffer) |