ui/cocoa.m: add toast file support
authorProgrammingkid <programmingkidx@gmail.com>
Fri, 30 Dec 2016 20:42:21 +0000 (15:42 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Mar 2017 15:09:56 +0000 (15:09 +0000)
Add the ability for the user to use .toast files with QEMU. This format works
just like ISO files.

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 0C9DA454-E3DC-4291-806E-9A96557DE833@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m

index 26d4a1c07f4ced404306aa290a6fc0ecc8c1698e..c81f7b6183f2b7a112fcbd10855c7797cf0fbd09 100644 (file)
@@ -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;