summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_x11.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-09-08 16:03:00 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-09-08 16:36:17 (GMT)
commitf6f099e33773e5739ef89681bc97a1a91ff168c8 (patch)
treea5278ef2151debe525b23700e04dd2f3cfd3b0c6 /src/opengl/qgl_x11.cpp
parent31d8058a32a1d2d2d6bc1ba3d48f5a382d7b87a7 (diff)
downloadQt-f6f099e33773e5739ef89681bc97a1a91ff168c8.zip
Qt-f6f099e33773e5739ef89681bc97a1a91ff168c8.tar.gz
Qt-f6f099e33773e5739ef89681bc97a1a91ff168c8.tar.bz2
Cleanup of QGLPaintDevice before it goes in
This is the last patch in the QGLPaintDevice series. Although previous patches have not been reviewed individually, Samuel's reviewed QGLPaintDevice API and all the changes as the code stands with this patch. Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/qgl_x11.cpp')
-rw-r--r--src/opengl/qgl_x11.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/qgl_x11.cpp b/src/opengl/qgl_x11.cpp
index fc29264..a7376b2 100644
--- a/src/opengl/qgl_x11.cpp
+++ b/src/opengl/qgl_x11.cpp
@@ -41,7 +41,6 @@
#include "qgl.h"
#include "qgl_p.h"
-#include "qglpaintdevice_p.h"
#include "qmap.h"
#include "qapplication.h"
@@ -1308,7 +1307,6 @@ void QGLWidget::setContext(QGLContext *context,
d->glcx->doneCurrent();
QGLContext* oldcx = d->glcx;
d->glcx = context;
-// d->glDevice.setContext(context); // ### Do this for all platforms
if (parentWidget()) {
// force creation of delay-created widgets