Skip to contentSkip to conversation

ui/cocoa.m: Add support for cdr files

PATCH Applied Programmingkid 2 participants 2 messages Mar 30, 2016 – Apr 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/cocoa.m: Add support for cdr files

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

---
 ui/cocoa.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
ui/cocoa.m +2 -1
index 6914714..60a7c07 100644
@@ -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;
 }
Signature · 1 line
2.7.2
#1 lore raw
Quoted 12 lines · Programmingkid

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

---
 ui/cocoa.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
ui/cocoa.m +0 -0
index 6914714..60a7c07 100644

ui/cocoa.m QemuCocoaView *cocoaView; · line 881

Quoted 9 lines
ui/cocoa.m +2 -1
@@ -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