ui/cocoa.m: Add support for cdr files
PATCH 1/1 ui/cocoa.m: Add support for cdr files
Allow the user to select .cdr files in the file open dialog.
Signed-off-by John Arbuckle <[email protected]>
--- ui/cocoa.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ui/cocoa.m +2 -1
@@ -874,7 +874,8 @@ QemuCocoaView *cocoaView; // set the supported image file types that can be opened supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg", - @"qcow", @"qcow2", @"cloop", @"vmdk", nil]; + @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr", + nil]; } return self; }
Signature · 1 line
2.7.2
Peter Maydell
AppliedQuoted 12 lines · Programmingkid
Allow the user to select .cdr files in the file open dialog.
Signed-off-by John Arbuckle <[email protected]>--- ui/cocoa.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)ui/cocoa.m +0
-0
ui/cocoa.m QemuCocoaView *cocoaView; · line 881
Quoted 9 lines
ui/cocoa.m +2
-1@@ -874,7 +874,8 @@ QemuCocoaView *cocoaView; // set the supported image file types that can be opened supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg", - @"qcow", @"qcow2", @"cloop", @"vmdk", nil]; + @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr", + nil]; } return self; }
Applied to master, thanks.
-- PMM