diff mbox

ui/cocoa.m: add toast file support

Message ID 0C9DA454-E3DC-4291-806E-9A96557DE833@gmail.com
State New
Headers show

Commit Message

Programmingkid Dec. 30, 2016, 8:42 p.m. UTC
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>
---
 ui/cocoa.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell Jan. 6, 2017, 1:45 p.m. UTC | #1
On 30 December 2016 at 20:42, Programmingkid <programmingkidx@gmail.com> wrote:
> 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>
> ---
>  ui/cocoa.m | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index 26d4a1c..c81f7b6 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;
> --

Applied to cocoa.next, thanks.

-- PMM
Peter Maydell March 14, 2017, 3:49 p.m. UTC | #2
On 6 January 2017 at 14:45, Peter Maydell <peter.maydell@linaro.org> wrote:
> On 30 December 2016 at 20:42, Programmingkid <programmingkidx@gmail.com> wrote:
>> 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>
>> ---
>>  ui/cocoa.m | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/ui/cocoa.m b/ui/cocoa.m
>> index 26d4a1c..c81f7b6 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;
>> --
>
> Applied to cocoa.next, thanks.

...and now applied to master; sorry, I forgot I had a patch
pending in my cocoa queue.

thanks
-- PMM
diff mbox

Patch

diff --git a/ui/cocoa.m b/ui/cocoa.m
index 26d4a1c..c81f7b6 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;