Hello,

This is my first time submitting a patch, so please let me know if I'm not 
following the correct protocol.

Under OSX Lion the boot volume dialog is not closed and it permanently obscures 
the emulator window since under Lion the dialog cannot be repositioned. The fix 
adds only to add a single line to close the dialog.

Signed-off-by: Juan Pineda <j...@logician.com>

Thanks!
-Juan


> git diff ui/cocoa.m
diff --git a/ui/cocoa.m b/ui/cocoa.m
index d9e4e3d..4b42462 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);


Reply via email to