diff options
author | John Arbuckle <programmingkidx@gmail.com> | 2015-09-25 23:13:59 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-25 23:13:59 +0100 |
commit | d9bc14f63e880010ba72b3a0169ff8ef52275a63 (patch) | |
tree | 03fb7974bcc00bf8f03162e7aec977bdb7f58b78 /ui/sdl2.c | |
parent | 9e071429e649346c14b2dc76902f84f8352d2333 (diff) |
ui/cocoa.m: verify with user before quitting QEMU
This patch prevents the user from accidentally quitting QEMU by pushing
Command-Q or by pushing the close button on the main window. When
the user does one of these two things, a dialog box appears verifying
with the user if he or she wants to quit QEMU.
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 29169A74-0347-47F5-934F-A5AD24C225CA@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/sdl2.c')
0 files changed, 0 insertions, 0 deletions