From 7dd61c89fc990be7acb017d6da1bc54a94cabcfc Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Fri, 26 Dec 2014 17:36:03 +0100 Subject: [PATCH] Fix: osx shortcuts. --- app/qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/qml/main.qml b/app/qml/main.qml index c527ec6..7a201a1 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -82,12 +82,12 @@ ApplicationWindow{ Action{ id: copyAction text: qsTr("Copy") - shortcut: Qt.platform.os === "osx" ? "Ctrl+C" : "Ctrl+Shift+C" + shortcut: Qt.platform.os === "osx" ? StandardKey.Copy : "Ctrl+Shift+C" } Action{ id: pasteAction text: qsTr("Paste") - shortcut: Qt.platform.os === "osx" ? "Ctrl+V" : "Ctrl+Shift+V" + shortcut: Qt.platform.os === "osx" ? StandardKey.Paste : "Ctrl+Shift+V" } Action{ id: zoomIn