From 642a26dab4e36982b53bec738026d9825b530e38 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Sat, 23 Jun 2012 11:12:10 +0200 Subject: Fix setMouseTracking on QGLWidget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/opengl/qgl_qpa.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/opengl/qgl_qpa.cpp') 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); -- cgit v1.2.3