summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arbuckle <programmingkidx@gmail.com>2016-03-30 12:37:11 -0400
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:01:34 -0600
commit20caa85a39f78c552f760312c895368364e880f1 (patch)
treeb1d0eb921d842327be6d9664c788523a4b87bd64
parent8c74b36605371d9ca1c20a7b4f1d0e788b072e80 (diff)
downloadhqemu-20caa85a39f78c552f760312c895368364e880f1.zip
hqemu-20caa85a39f78c552f760312c895368364e880f1.tar.gz
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>
-rw-r--r--ui/cocoa.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 6914714..60a7c07 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;
}
OpenPOWER on IntegriCloud