diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-29 14:10:41 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-29 14:10:41 (GMT) |
commit | 8331d6dab88b589164e27e8f44980c742835a729 (patch) | |
tree | 2d51edf9128b7cf2171cb06e477c43050b0cdf14 | |
parent | cfd4156e0dd3f42e23596bba40a30f93f7cdd64b (diff) | |
parent | 263c81d923a1ed90335a3fb05c87330630456073 (diff) | |
download | Qt-8331d6dab88b589164e27e8f44980c742835a729.zip Qt-8331d6dab88b589164e27e8f44980c742835a729.tar.gz Qt-8331d6dab88b589164e27e8f44980c742835a729.tar.bz2 |
Merge branch '4.5' into 4.6
-rw-r--r-- | src/gui/kernel/qwidget_mac.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm index 95c0bed..58252ca 100644 --- a/src/gui/kernel/qwidget_mac.mm +++ b/src/gui/kernel/qwidget_mac.mm @@ -2896,6 +2896,7 @@ void QWidgetPrivate::setCursor_sys(const QCursor &) #else Q_Q(QWidget); if (q->testAttribute(Qt::WA_WState_Created)) { + QMacCocoaAutoReleasePool pool; [qt_mac_window_for(q) invalidateCursorRectsForView:qt_mac_nativeview_for(q)]; } #endif @@ -2908,6 +2909,7 @@ void QWidgetPrivate::unsetCursor_sys() #else Q_Q(QWidget); if (q->testAttribute(Qt::WA_WState_Created)) { + QMacCocoaAutoReleasePool pool; [qt_mac_window_for(q) invalidateCursorRectsForView:qt_mac_nativeview_for(q)]; } #endif |