summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-01-20 10:03:52 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-01-20 10:05:11 (GMT)
commitf41ae98f130fb94c5d1ec55fceb27a60014ac90c (patch)
tree3b92821c130f5f9dc8e6d9df21873ec38663568e /src/gui
parent2761e6f57ecd00c3435dbb8a6cf5f40653195d5d (diff)
downloadQt-f41ae98f130fb94c5d1ec55fceb27a60014ac90c.zip
Qt-f41ae98f130fb94c5d1ec55fceb27a60014ac90c.tar.gz
Qt-f41ae98f130fb94c5d1ec55fceb27a60014ac90c.tar.bz2
Cocoa: Fix painting errors on QGLWidget resizing.
Enable the patch in my previous commit. (remove "if 0")
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qcocoaview_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qcocoaview_mac.mm b/src/gui/kernel/qcocoaview_mac.mm
index c14798a..f61d2fe 100644
--- a/src/gui/kernel/qcocoaview_mac.mm
+++ b/src/gui/kernel/qcocoaview_mac.mm
@@ -510,7 +510,7 @@ extern "C" {
}
// Make sure the opengl context is updated on resize.
- if (0 && qwidgetprivate->isGLWidget) {
+ if (qwidgetprivate->isGLWidget) {
qwidgetprivate->needWindowChange = true;
QEvent event(QEvent::MacGLWindowChange);
qApp->sendEvent(qwidget, &event);