Fix setMouseTracking on QGLWidget
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sat, 23 Jun 2012 09:12:10 +0000 (11:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 23 Jun 2012 18:27:45 +0000 (20:27 +0200)
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 <samuel.rodal@nokia.com>
src/opengl/qgl.h
src/opengl/qgl_qpa.cpp

index 39d63c1..2f2c9ea 100644 (file)
@@ -423,8 +423,6 @@ public:
 
     static QImage convertToGLFormat(const QImage& img);
 
-    void setMouseTracking(bool enable);
-
     const QGLColormap & colormap() const;
     void  setColormap(const QGLColormap & map);
 
index 05c0d9f..2b3aca7 100644 (file)
@@ -336,11 +336,6 @@ void QGLWidgetPrivate::cleanupColormaps()
 {
 }
 
-void QGLWidget::setMouseTracking(bool enable)
-{
-    Q_UNUSED(enable);
-}
-
 bool QGLWidget::event(QEvent *e)
 {
     return QWidget::event(e);