diff mbox

ui/cocoa.m: Add support for cdr files

Message ID 32C964D4-3F17-47B7-AE7E-593E6BFD8855@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Programmingkid March 30, 2016, 4:37 p.m. UTC
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(-)

Comments

Peter Maydell April 4, 2016, 12:57 p.m. UTC | #1
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
diff mbox

Patch

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;
 }