diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-12-09 09:00:02 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-04 15:18:21 +0100 |
commit | dd72b151b500838475f2ec40695449a37acd3922 (patch) | |
tree | daa27dee60c6cf94bd630d4947b37bdd57cd2ddb /src/opengl/qgl_qpa.cpp | |
parent | 337f75854883fb93e1b4f41e10c79dc7c352f4a6 (diff) |
Remove Lighthouse specific code in QGLWidget constructor
truth to be told, I can't remember why I decided that it was a good idea
to have the code there. But clearly now I don't think so anymore. Such
initialisation should happen in qgl_qpa.cpp chooseContext.
If we tear down the window and the context then that has to be solved
elsewhere.
Diffstat (limited to 'src/opengl/qgl_qpa.cpp')
-rw-r--r-- | src/opengl/qgl_qpa.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/opengl/qgl_qpa.cpp b/src/opengl/qgl_qpa.cpp index 415e915c86..52eb57fd88 100644 --- a/src/opengl/qgl_qpa.cpp +++ b/src/opengl/qgl_qpa.cpp @@ -325,11 +325,6 @@ void QGLWidget::setMouseTracking(bool enable) bool QGLWidget::event(QEvent *e) { Q_D(QGLWidget); - if (e->type() == QEvent::WinIdChange) { - if (platformWindow()) { - d->glcx = QGLContext::fromPlatformGLContext(platformWindow()->glContext()); - } - } return QWidget::event(e); } |