summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2013-12-08 23:59:05 +0100
committerPeter Maydell2014-01-12 23:27:10 +0100
commit5342f990f46512487e3e5be1047a5b424f00d255 (patch)
tree2cf02d068dd622ff6122dab055fece301fe9f8fc
parentui/cocoa: Send warning message to stderr, not stdout (diff)
downloadqemu-5342f990f46512487e3e5be1047a5b424f00d255.tar.gz
qemu-5342f990f46512487e3e5be1047a5b424f00d255.tar.xz
qemu-5342f990f46512487e3e5be1047a5b424f00d255.zip
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: Peter Maydell <peter.maydell@linaro.org> Message-id: 1386543546-31919-5-git-send-email-peter.maydell@linaro.org
-rw-r--r--ui/cocoa.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 5249891651..fd55044547 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -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];
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)
[op setAllowedFileTypes:filetypes];
[op beginSheetModalForWindow:normalWindow