1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

fix alt(meta), ctrl for emacs on macos

This commit is contained in:
spuch 2018-03-06 17:33:30 +08:00
parent b9d027291e
commit 654f8d0761
3 changed files with 7 additions and 3 deletions

View File

@ -36,6 +36,10 @@ int main(int argc, char *argv[])
#endif
QApplication app(argc, argv);
// set application attributes
// Has no effects, see https://bugreports.qt.io/browse/QTBUG-51293
// app.setAttribute(Qt::AA_MacDontSwapCtrlAndMeta, true);
QQmlApplicationEngine engine;
FileIO fileIO;

View File

@ -101,12 +101,12 @@ ApplicationWindow{
Action{
id: copyAction
text: qsTr("Copy")
shortcut: Qt.platform.os === "osx" ? StandardKey.Copy : "Ctrl+Shift+C"
shortcut: "Ctrl+Shift+C"
}
Action{
id: pasteAction
text: qsTr("Paste")
shortcut: Qt.platform.os === "osx" ? StandardKey.Paste : "Ctrl+Shift+V"
shortcut: "Ctrl+Shift+V"
}
Action{
id: zoomIn

@ -1 +1 @@
Subproject commit 08958f7c83a7d05627f623b8904f3e79a0b7366b
Subproject commit 214eeefc2a1293a5d7d3da77e853e931103a1428