diff --git a/src/vconfigmanager.cpp b/src/vconfigmanager.cpp index a8514d36..9f1b0c18 100644 --- a/src/vconfigmanager.cpp +++ b/src/vconfigmanager.cpp @@ -1035,6 +1035,13 @@ void VConfigManager::readShortcutsFromSettings() m_shortcuts.clear(); m_shortcuts = readShortcutsFromSettings(defaultSettings, group); +#if defined(Q_OS_MACOS) || defined(Q_OS_MAC) + // Translate Ctrl to Meta on macOS. + for (auto it = m_shortcuts.begin(); it != m_shortcuts.end(); ++it) { + it.value().replace("Ctrl", "Meta", Qt::CaseInsensitive); + } +#endif + // Update default settings according to user settings. QHash userShortcuts = readShortcutsFromSettings(userSettings, group);