mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
Revert "shortcuts: translate Ctrl to Meta on macOS in default config"
This reverts commit 5cd114e549792bf837f18bd8b73df4e4f79e97ea.
This commit is contained in:
parent
cfcc7e5494
commit
55fcdd8884
@ -1042,13 +1042,6 @@ 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<QString, QString> userShortcuts = readShortcutsFromSettings(userSettings,
|
||||
group);
|
||||
|
Loading…
x
Reference in New Issue
Block a user