summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpaintdevice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglpaintdevice_p.h')
-rw-r--r--src/opengl/qglpaintdevice_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglpaintdevice_p.h b/src/opengl/qglpaintdevice_p.h
index 66b24a9..1e7ba8d 100644
--- a/src/opengl/qglpaintdevice_p.h
+++ b/src/opengl/qglpaintdevice_p.h
@@ -73,7 +73,7 @@ public:
virtual void endPaint();
virtual QGLContext* context() const = 0;
- QGLFormat format() const;
+ virtual QGLFormat format() const;
virtual QSize size() const = 0;
// returns the QGLPaintDevice for the given QPaintDevice