summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@rim.com>2012-10-18 12:28:24 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-18 12:40:53 (GMT)
commit1d96a970b8f834efbb64d597966aad18677aa0a5 (patch)
treef83c04acbc054f8cb93e8621ab3fe7038a74113a /src/plugins/platforms
parent4aa9e184b527eb30c0e86576c6fc89fe63433c7e (diff)
downloadQt-1d96a970b8f834efbb64d597966aad18677aa0a5.zip
Qt-1d96a970b8f834efbb64d597966aad18677aa0a5.tar.gz
Qt-1d96a970b8f834efbb64d597966aad18677aa0a5.tar.bz2
GL Window needs to update after an orientation change
The qnx plugin in Qt5 is different, update is not needed Change-Id: I70cf6a0b091bd1f15795521397eb744401aff2c8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/blackberry/qbbglcontext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/blackberry/qbbglcontext.cpp b/src/plugins/platforms/blackberry/qbbglcontext.cpp
index bdc7cac..9393020 100644
--- a/src/plugins/platforms/blackberry/qbbglcontext.cpp
+++ b/src/plugins/platforms/blackberry/qbbglcontext.cpp
@@ -317,6 +317,7 @@ void QBBGLContext::resizeSurface(const QSize &size)
// make context current again
if (restoreCurrent) {
makeCurrent();
+ mPlatformWindow->widget()->update();
}
}