qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files
@ 2016-03-30 16:37 Programmingkid
  2016-04-04 12:57 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Programmingkid @ 2016-03-30 16:37 UTC (permalink / raw)
  To: qemu-devel qemu-devel, Peter Maydell

Allow the user to select .cdr files in the file open dialog. 

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
---
 ui/cocoa.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/cocoa.m b/ui/cocoa.m
index 6914714..60a7c07 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -874,7 +874,8 @@ QemuCocoaView *cocoaView;
 
         // set the supported image file types that can be opened
         supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg",
-                                 @"qcow", @"qcow2", @"cloop", @"vmdk", nil];
+                                 @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr",
+                                  nil];
     }
     return self;
 }
-- 
2.7.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files
  2016-03-30 16:37 [Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files Programmingkid
@ 2016-04-04 12:57 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2016-04-04 12:57 UTC (permalink / raw)
  To: Programmingkid; +Cc: qemu-devel qemu-devel

On 30 March 2016 at 17:37, Programmingkid <programmingkidx@gmail.com> wrote:
> Allow the user to select .cdr files in the file open dialog.
>
> Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
> ---
>  ui/cocoa.m | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index 6914714..60a7c07 100644
> --- a/ui/cocoa.m
> +++ b/ui/cocoa.m
> @@ -874,7 +874,8 @@ QemuCocoaView *cocoaView;
>
>          // set the supported image file types that can be opened
>          supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg",
> -                                 @"qcow", @"qcow2", @"cloop", @"vmdk", nil];
> +                                 @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr",
> +                                  nil];
>      }
>      return self;
>  }

Applied to master, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-04 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30 16:37 [Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files Programmingkid
2016-04-04 12:57 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).