allow volume up/down hotkeys to be repeated

This commit is contained in:
Jonas Gutenschwager
2023-01-18 00:39:31 +01:00
parent 28fde29924
commit 83754e4789
4 changed files with 32 additions and 27 deletions

View File

@ -115,6 +115,7 @@ private:
QShortcut* shortcut = nullptr;
ControllerShortcut* controller_shortcut = nullptr;
Qt::ShortcutContext context = Qt::WindowShortcut;
bool repeat;
};
using HotkeyMap = std::map<QString, Hotkey>;