diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-01-20 10:03:52 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-01-20 10:05:11 (GMT) |
commit | f41ae98f130fb94c5d1ec55fceb27a60014ac90c (patch) | |
tree | 3b92821c130f5f9dc8e6d9df21873ec38663568e /src/gui | |
parent | 2761e6f57ecd00c3435dbb8a6cf5f40653195d5d (diff) | |
download | Qt-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.mm | 2 |
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); |