Corrected code formatting

This commit is contained in:
OpenSauce04 2024-08-03 00:04:36 +01:00
parent aae84524eb
commit ddd832104c
2 changed files with 3 additions and 2 deletions

View File

@ -656,7 +656,8 @@ void GMainWindow::InitializeHotkeys() {
// QShortcut Hotkeys // QShortcut Hotkeys
const auto connect_shortcut = [&](const QString& action_name, const auto& function) { const auto connect_shortcut = [&](const QString& action_name, const auto& function) {
const auto* hotkey = hotkey_registry.GetHotkey(main_window, action_name, this); const auto* hotkey = hotkey_registry.GetHotkey(main_window, action_name, this);
const auto* secondary_hotkey = hotkey_registry.GetHotkey(main_window, action_name, secondary_window); const auto* secondary_hotkey =
hotkey_registry.GetHotkey(main_window, action_name, secondary_window);
connect(hotkey, &QShortcut::activated, this, function); connect(hotkey, &QShortcut::activated, this, function);
connect(secondary_hotkey, &QShortcut::activated, this, function); connect(secondary_hotkey, &QShortcut::activated, this, function);
}; };