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>
This commit is contained in:
John Arbuckle 2016-03-30 12:37:11 -04:00 committed by Peter Maydell
parent bdc5db01c3
commit 9d227f194d

View 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;
}