summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAnthony Liguori2011-11-01 23:29:24 +0100
committerAnthony Liguori2011-11-01 23:29:24 +0100
commit8aceefd77c2bb5af02759d11eb836c42ad9e720d (patch)
tree06eef615cd364695d19e568a5f3029911a1298fe /ui
parentMerge branch 'master' of git://git.qemu.org/qemu (diff)
parentcocoa: Close sheet after image file selection (diff)
downloadqemu-8aceefd77c2bb5af02759d11eb836c42ad9e720d.tar.gz
qemu-8aceefd77c2bb5af02759d11eb836c42ad9e720d.tar.xz
qemu-8aceefd77c2bb5af02759d11eb836c42ad9e720d.zip
Merge remote-tracking branch 'afaerber/cocoa-for-upstream' into staging
Diffstat (limited to 'ui')
-rw-r--r--ui/cocoa.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index d9e4e3dcaa..0711205cbe 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -811,6 +811,8 @@ QemuCocoaView *cocoaView;
char **argv = (char**)malloc( sizeof(char*)*3 );
+ [sheet close];
+
asprintf(&argv[0], "%s", bin);
asprintf(&argv[1], "-hda");
asprintf(&argv[2], "%s", img);