summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorJohn Arbuckle <programmingkidx@gmail.com>2016-03-30 12:37:11 -0400
committerPeter Maydell <peter.maydell@linaro.org>2016-04-04 13:54:44 +0100
commit9d227f194dc7d3f9c8fee48444e7a1db38b33500 (patch)
tree3d0244b4650c0862c1703b6cd31503a2de4d9731 /ui
parentbdc5db01c354abf19d21872cbcf51328bb8650db (diff)
downloadqemu-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')
-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;
}