Commit 5342f990 authored by Peter Maydell's avatar Peter Maydell
Browse files

ui/cocoa: Add ".qcow2" to extension list for image load dialog

Add ".qcow2" to the list of file extensions which are accepted
by the initial disk image load dialog which is displayed if the
user runs QEMU without any command line arguments.
Signed-off-by: default avatarPeter Maydell <>
parent 01cc4e6f
......@@ -785,7 +785,7 @@ QemuCocoaView *cocoaView;
[op setPrompt:@"Boot image"];
[op setMessage:@"Select the disk image you want to boot.\n\nHit the \"Cancel\" button to quit"];
NSArray *filetypes = [NSArray arrayWithObjects:@"img", @"iso", @"dmg",
@"qcow", @"cow", @"cloop", @"vmdk", nil];
@"qcow", @"qcow2", @"cow", @"cloop", @"vmdk", nil];
[op setAllowedFileTypes:filetypes];
[op beginSheetModalForWindow:normalWindow
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment