Add check to make sure qApp exists before using
authorChris Meyer <cmeyer1969@gmail.com>
Sat, 17 Dec 2011 00:41:59 +0000 (16:41 -0800)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Dec 2011 08:53:42 +0000 (09:53 +0100)
commitb13f630c8188b7b7571a5df001a395b9e6790a28
tree6011c41edbe341635815281b1950224dbef6b8fe
parente299832dbf3e2227200e7317805f7773d60fcbba
Add check to make sure qApp exists before using

Check for qApp before using. I'm aware that this is in commented
out code right now; but I wanted to make sure it doesn't
accidently slip back in without this check so I'm submitting
this patch. It caused problems at shutdown in 4.8.

Change-Id: I1c2358ab94f8b698e5519b3e0f988fb5cdd653fa
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoaapplication.mm