CocoaPlugin: remove autoreleasepool warnings on 10.6
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Tue, 4 Sep 2012 12:15:20 +0000 (14:15 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 10 Sep 2012 12:09:45 +0000 (14:09 +0200)
commit7fd0c52da7acd9a945bf0cc5fbadabfd0d4fafa4
tree28b9ed104b107b0e6456cac85c0e6e2bb7ce8c58
parent0c0c04b4053d0298dff881a15ae64e6ff6d29f93
CocoaPlugin: remove autoreleasepool warnings on 10.6

All examples running on 10.6 complained about missing autoreleasepools. This
patch adds them in where they were missing.

Change-Id: I18a1ddf486efdd1ece82d82d111b46e2ef064ff1
Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
src/plugins/platforms/cocoa/qcocoaintegration.mm
src/plugins/platforms/cocoa/qcocoawindow.mm