diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-12-18 10:14:29 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-01-04 14:08:21 (GMT) |
commit | 5153767a8e4c9b01eef05bf25881eab44a7cd725 (patch) | |
tree | 00f76d308cf58d15e7df6a224a2aa354e25a97d2 /src/gui/kernel/qwidget_mac.mm | |
parent | a47e2de1a3958c52eef1997c448bf89d3aba63e5 (diff) | |
download | Qt-5153767a8e4c9b01eef05bf25881eab44a7cd725.zip Qt-5153767a8e4c9b01eef05bf25881eab44a7cd725.tar.gz Qt-5153767a8e4c9b01eef05bf25881eab44a7cd725.tar.bz2 |
Cocoa: added release pool
Fix warning given by cocoa
(cherry picked from commit 875afab977005b03d307040fb3be15c7524a37ff)
Diffstat (limited to 'src/gui/kernel/qwidget_mac.mm')
-rw-r--r-- | src/gui/kernel/qwidget_mac.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm index 0213af9..69f1353 100644 --- a/src/gui/kernel/qwidget_mac.mm +++ b/src/gui/kernel/qwidget_mac.mm @@ -3671,6 +3671,7 @@ void QWidgetPrivate::raise_sys() return; #if QT_MAC_USE_COCOA + QMacCocoaAutoReleasePool pool; if (isRealWindow()) { // Calling orderFront shows the window on Cocoa too. if (!q->testAttribute(Qt::WA_DontShowOnScreen) && q->isVisible()) { |