diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-11-16 12:19:29 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-11-17 14:00:48 (GMT) |
commit | 78895a7ecaf6579894d88388c09be6e6368dc029 (patch) | |
tree | 5cf81a6e70cd521745af46822599201f908f555b /config.tests | |
parent | 6ad33e1ff7618704fd41549780d0d0c93778364e (diff) | |
download | Qt-78895a7ecaf6579894d88388c09be6e6368dc029.zip Qt-78895a7ecaf6579894d88388c09be6e6368dc029.tar.gz Qt-78895a7ecaf6579894d88388c09be6e6368dc029.tar.bz2 |
Fixed crash when destroying QGLWidget
The QGLWidget destroys the QGLContext, which in turn destroys the
bound pixmap. When this happens there may not be a current QGLContext,
so check that before trying to restore it.
Done-with: Gunnar Sletta
Reviewed-by: Samuel
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions