Cocoa: Shutdown when window is closed
commit41ea49b328ef0fa292574af719f92de14b28304d
authorAndreas Färber <andreas.faerber@web.de>
Mon, 14 Dec 2009 21:13:27 +0000 (14 22:13 +0100)
committermalc <av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:34 +0000 (7 10:57 +0300)
treed65d65fce036e49b8a0b0d680d754a20e2521af0
parentf49188043b9ca4d28aeea82fa462282f58a36414
Cocoa: Shutdown when window is closed

The application is not very useful once the guest window is closed.
QEMU is not a document-based application; terminating it automatically
saves the user another action and resembles SDL behavior.

v2:
- Use delegate method, suggested by Juha Riihimäki.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: malc <av1474@comtv.ru>
cocoa.m