[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] Patch for ui/cocoa.m

From: Juan Pineda
Subject: [Qemu-trivial] Patch for ui/cocoa.m
Date: Mon, 17 Oct 2011 18:22:03 -0700


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 <address@hidden>


> 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

[Prev in Thread] Current Thread [Next in Thread]