summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-01-07 09:34:14 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2010-01-07 09:34:14 (GMT)
commit2e4c7797144ff2487eadd4c4ae076943c1b7d409 (patch)
tree9e72db80c579d304766f37ed3db9b4948e24b4cf /src/opengl
parent80e6ea3e871fa9f0e5a21d48ad893d4ec59c5c1c (diff)
downloadQt-2e4c7797144ff2487eadd4c4ae076943c1b7d409.zip
Qt-2e4c7797144ff2487eadd4c4ae076943c1b7d409.tar.gz
Qt-2e4c7797144ff2487eadd4c4ae076943c1b7d409.tar.bz2
Remove unnecessary call to QWidget::setAttribute().
This is already done in the QGLWidget constructor. Reviewed-by: Kim
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index c3e4a2e..4a79427 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -4952,8 +4952,6 @@ void QGLWidgetPrivate::initContext(QGLContext *context, const QGLWidget* shareWi
if (!glcx)
glcx = new QGLContext(QGLFormat::defaultFormat(), q);
-
- q->setAttribute(Qt::WA_NoSystemBackground);
}
#if defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_WS_QWS)