From: Programmingkid Date: Fri, 30 Dec 2016 20:42:21 +0000 (-0500) Subject: ui/cocoa.m: add toast file support X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5f26fcfb983f72b13c4b33a6071be22aa97e2363;p=qemu.git ui/cocoa.m: add toast file support Add the ability for the user to use .toast files with QEMU. This format works just like ISO files. Signed-off-by: John Arbuckle Message-id: 0C9DA454-E3DC-4291-806E-9A96557DE833@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/ui/cocoa.m b/ui/cocoa.m index 26d4a1c07f..c81f7b6183 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -879,7 +879,7 @@ QemuCocoaView *cocoaView; // set the supported image file types that can be opened supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg", @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr", - nil]; + @"toast", nil]; [self make_about_window]; } return self;