aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-01 17:29:24 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 17:29:24 -0500
commit8aceefd77c2bb5af02759d11eb836c42ad9e720d (patch)
tree06eef615cd364695d19e568a5f3029911a1298fe /ui
parentef26ee0e6c67d415f8b22850f9f13a972ada8be1 (diff)
parent13766eb1e46452affd12f2b944730e136c6a2dda (diff)
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);