summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2012-05-31 18:31:09 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-01 13:06:56 +0200
commit524d47b3f5653d7643635092a03b7539d59c43e3 (patch)
tree2c2a54ef68b101502a5016cdd2d9085b4a9b1ee6 /src
parent8dd443034dda9505282b625b9895b15e1ac9a27d (diff)
Remove unused isGLWidget variable.
Change-Id: I9d1a0edfce3d13ed56916b7301098aa5fbe0bc40 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qgl_p.h1
-rw-r--r--src/widgets/kernel/qwidget.cpp1
-rw-r--r--src/widgets/kernel/qwidget_p.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index fb503a31f1..b0a430551f 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -135,7 +135,6 @@ public:
QGLWidgetPrivate() : QWidgetPrivate()
, disable_clear_on_painter_begin(false)
{
- isGLWidget = 1;
}
~QGLWidgetPrivate() {}
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 2fbedb4809..1852c5f648 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -262,7 +262,6 @@ QWidgetPrivate::QWidgetPrivate(int version)
, inDirtyList(0)
, isScrolled(0)
, isMoved(0)
- , isGLWidget(0)
, usesDoubleBufferedGLContext(0)
#ifndef QT_NO_IM
, inheritsInputMethodHints(0)
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h
index 4652e4386a..274a61eb9f 100644
--- a/src/widgets/kernel/qwidget_p.h
+++ b/src/widgets/kernel/qwidget_p.h
@@ -689,7 +689,6 @@ public:
uint inDirtyList : 1;
uint isScrolled : 1;
uint isMoved : 1;
- uint isGLWidget : 1;
uint usesDoubleBufferedGLContext : 1;
#ifndef QT_NO_IM
uint inheritsInputMethodHints : 1;