diff --git a/glapplet.cpp b/glapplet.cpp index 5ceb94ae9..b6cc2798e 100644 --- a/glapplet.cpp +++ b/glapplet.cpp @@ -99,6 +99,13 @@ void GLApplet::deleteTexture(GLuint textureId) d->dummy->deleteTexture(textureId); } +void GLApplet::paintGLInterface(QPainter *painter, + const QStyleOptionGraphicsItem *option) +{ + Q_UNUSED(painter) + Q_UNUSED(option) +} + static inline QPainterPath headerPath(const QRectF &r, int roundness, int headerHeight=10) { diff --git a/glapplet.h b/glapplet.h index 2535d0d50..880100492 100644 --- a/glapplet.h +++ b/glapplet.h @@ -69,7 +69,7 @@ class PLASMA_EXPORT GLApplet : public Applet * using OpenGL api directly is supported. */ virtual void paintGLInterface(QPainter *painter, - const QStyleOptionGraphicsItem *option) = 0; + const QStyleOptionGraphicsItem *option); void makeCurrent(); private: virtual void paintInterface(QPainter *painter,