mirror of https://gitee.com/openkylin/qemu.git
Merge remote-tracking branch 'afaerber/cocoa-for-upstream' into staging
This commit is contained in:
commit
8aceefd77c
|
@ -451,6 +451,11 @@ M: Anthony Liguori <aliguori@us.ibm.com>
|
|||
S: Maintained
|
||||
F: ui/
|
||||
|
||||
Cocoa graphics
|
||||
M: Andreas Färber <andreas.faerber@web.de>
|
||||
S: Odd Fixes
|
||||
F: ui/cocoa.m
|
||||
|
||||
Main loop
|
||||
M: Anthony Liguori <aliguori@us.ibm.com>
|
||||
S: Supported
|
||||
|
|
|
@ -811,6 +811,8 @@ - (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextI
|
|||
|
||||
char **argv = (char**)malloc( sizeof(char*)*3 );
|
||||
|
||||
[sheet close];
|
||||
|
||||
asprintf(&argv[0], "%s", bin);
|
||||
asprintf(&argv[1], "-hda");
|
||||
asprintf(&argv[2], "%s", img);
|
||||
|
|
Loading…
Reference in New Issue