summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-06-23 11:12:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-23 20:27:45 +0200
commit642a26dab4e36982b53bec738026d9825b530e38 (patch)
treebec26696edf0000296feefc96a33a647b78880ca
parent62d481757c44aed7d2a4c339c72f0a8a40648505 (diff)
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 <samuel.rodal@nokia.com>
-rw-r--r--src/opengl/qgl.h2
-rw-r--r--src/opengl/qgl_qpa.cpp5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index 39d63c12fe..2f2c9eadda 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 05c0d9fe39..2b3aca7928 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);