From: Laszlo Agocs Date: Sat, 23 Jun 2012 09:12:10 +0000 (+0200) Subject: Fix setMouseTracking on QGLWidget X-Git-Tag: 071012110112~281 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=642a26dab4e36982b53bec738026d9825b530e38;p=profile%2Fivi%2Fqtbase.git Fix setMouseTracking on QGLWidget Remove the function altogether. Alternatively we could call the base class implementation but there is no reason to keep this confusing, non-virtual override. Change-Id: Ie8724f7bbc6666fdace7ff777bcde99f3d8a9561 Reviewed-by: Samuel Rødal --- diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index 39d63c1..2f2c9ea 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -423,8 +423,6 @@ public: static QImage convertToGLFormat(const QImage& img); - void setMouseTracking(bool enable); - const QGLColormap & colormap() const; void setColormap(const QGLColormap & map); diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 05c0d9f..2b3aca7 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -336,11 +336,6 @@ void QGLWidgetPrivate::cleanupColormaps() { } -void QGLWidget::setMouseTracking(bool enable) -{ - Q_UNUSED(enable); -} - bool QGLWidget::event(QEvent *e) { return QWidget::event(e);