From patchwork Wed Mar 30 16:37:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Programmingkid X-Patchwork-Id: 8700631 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 84F2C9F44D for ; Wed, 30 Mar 2016 16:37:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6D4520390 for ; Wed, 30 Mar 2016 16:37:31 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D35E020382 for ; Wed, 30 Mar 2016 16:37:30 +0000 (UTC) Received: from localhost ([::1]:55759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ7a-00011q-AF for patchwork-qemu-devel@patchwork.kernel.org; Wed, 30 Mar 2016 12:37:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ7O-0000uE-IQ for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:37:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alJ7J-0002YC-J7 for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:37:18 -0400 Received: from mail-ig0-x243.google.com ([2607:f8b0:4001:c05::243]:34625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ7J-0002Y8-EL for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:37:13 -0400 Received: by mail-ig0-x243.google.com with SMTP id mh10so6560338igb.1 for ; Wed, 30 Mar 2016 09:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:date:message-id:to :mime-version; bh=Vsqi64RY8zEgM47EmodwPbC7uEZ4CocOCpL0p/fKkz8=; b=Ha5bah4eQd30rOs378LGnGCDI/AXDmSavcjgh7TICvux38mOqOAbeTWM3+gejWNUju OewJLDHFRzRgSr8MrCOXKoZCxm82wclJEjOHNdLmSUmPIXxbGGHqbXAWXpGZdjjzrnM+ gMCraEHdaTwXXQf1nZkT9uSf1bNMJX+lCL98MD7PTGPU4zPRHDj7oGnscUySe9BhEg2g 3Nvey1GKXqMvjdnXIwDgMZ779oUSaDg8Eo6LaDjRTPMAJubYBPL2cjxgYBteFmBtFxvU /436vHZCttCPsq9Ok7nv/t0TFIjyGL684+4BDzVjmLS9cmyWdZn2qjaEGhS/UxkhQOJX DOjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject:date :message-id:to:mime-version; bh=Vsqi64RY8zEgM47EmodwPbC7uEZ4CocOCpL0p/fKkz8=; b=hvQ6kq7YMGLM5EmlPaYpytQxGj0OFQehpFIWDLQgnlZwHZF6asWCKiK54gz2B5gZV0 ahoU3RniLLHkLD1WY9XazwA84izYfAp0m5nIUlirYWoWRF2dVWPfOEftYO9dLfyOROb0 WaKQq2FHABFn0rqlaVLrSOQrGkEQJJgdrEY4w6riuH+bQH1Nyw6eSoRoiXmsmpq7Qj7h H1+DarcEmsb3Zr4wd6/p4PE9XCgTZcg3mLfvKggnSFWosyx6s3qgNfeOWI1JcfsQ53xs OlqVAevsxzI6zFQ8yQCFblOYccAMHjALUskzv5bTZyDW9VxxiMgdWwL1rUtlp96LU7Kp 476A== X-Gm-Message-State: AD7BkJJk5juXCduzNrmEKYN8KeNXEOax7mhQRpP2YgrvKke2MsK/InzHgTM4kZ2h3SHoLw== X-Received: by 10.50.47.82 with SMTP id b18mr10124397ign.41.1459355832869; Wed, 30 Mar 2016 09:37:12 -0700 (PDT) Received: from [192.168.0.5] (d199-74-164-53.col.wideopenwest.com. [74.199.53.164]) by smtp.gmail.com with ESMTPSA id ie10sm8587496igb.12.2016.03.30.09.37.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Mar 2016 09:37:11 -0700 (PDT) From: Programmingkid Date: Wed, 30 Mar 2016 12:37:11 -0400 Message-Id: <32C964D4-3F17-47B7-AE7E-593E6BFD8855@gmail.com> To: qemu-devel qemu-devel , Peter Maydell Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::243 Subject: [Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allow the user to select .cdr files in the file open dialog. Signed-off-by: John Arbuckle --- 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; }