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