ui/cocoa.m: Add support for cdr files
authorJohn Arbuckle <programmingkidx@gmail.com>
Wed, 30 Mar 2016 16:37:11 +0000 (12:37 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2016 12:54:44 +0000 (13:54 +0100)
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>
ui/cocoa.m

index 6914714..60a7c07 100644 (file)
@@ -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;
 }