Cocoa: Don't unconditionally show the window
authorAndreas Färber <andreas.faerber@web.de>
Sun, 13 Dec 2009 01:11:44 +0000 (02:11 +0100)
committermalc <av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:33 +0000 (10:57 +0300)
commitf0e0c555505a01a7777ad5a4d73ec3da05cc8d18
tree2901e1c4d992c01e7e7c516fa46e22b90e9ac6ed
parent5e3fff004076e49a338947006dd534ba2e823c7a
Cocoa: Don't unconditionally show the window

When QEMU was launched in no-graphic, Curses or VNC mode,
don't run it as a Cocoa application.

Based on patch by Alexander Graf.

v1:
- Avoid type mismatch warning for argv
- Drop noCocoa variable
- Coding Style changes

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Alexander Graf <agraf@suse.de>
Cc: Mike Kronenberg <mike.kronenberg@kronenberg.org>
Signed-off-by: malc <av1474@comtv.ru>
cocoa.m