summaryrefslogtreecommitdiffstats
path: root/ui/cocoa.m
diff options
context:
space:
mode:
authorJohn Arbuckle2016-03-30 18:37:11 +0200
committerPeter Maydell2016-04-04 14:54:44 +0200
commit9d227f194dc7d3f9c8fee48444e7a1db38b33500 (patch)
tree3d0244b4650c0862c1703b6cd31503a2de4d9731 /ui/cocoa.m
parentMerge remote-tracking branch 'remotes/thibault/tags/samuel-thibault-2' into s... (diff)
downloadqemu-9d227f194dc7d3f9c8fee48444e7a1db38b33500.tar.gz
qemu-9d227f194dc7d3f9c8fee48444e7a1db38b33500.tar.xz
qemu-9d227f194dc7d3f9c8fee48444e7a1db38b33500.zip
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 <programmingkidx@gmail.com> Message-id: 32C964D4-3F17-47B7-AE7E-593E6BFD8855@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r--ui/cocoa.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 691471493f..60a7c07eca 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -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;
}