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> | 2009-12-22 14:09:29 (GMT) |
commit | 875afab977005b03d307040fb3be15c7524a37ff (patch) | |
tree | 763c0f809fec7045a97a3258ef35a63d2dc6bca1 /src/gui/kernel/qwidget_mac.mm | |
parent | 22573ddffc28135fba2dbb9eb2d50a76cae0a09c (diff) | |
download | Qt-875afab977005b03d307040fb3be15c7524a37ff.zip Qt-875afab977005b03d307040fb3be15c7524a37ff.tar.gz Qt-875afab977005b03d307040fb3be15c7524a37ff.tar.bz2 |
Cocoa: added release pool
Fix warning given by cocoa
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 34a9eed..7bdf745 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()) { |