Hotkey repeat handling update

This commit is contained in:
Dan Paulat 2024-04-11 23:57:12 -05:00
parent 399894f2db
commit dcaba52db7
3 changed files with 18 additions and 15 deletions

View file

@ -71,7 +71,7 @@ void HotkeyManager::HandleKeyPress(QKeyEvent* ev)
if (hotkey.second.count() == 1 &&
hotkey.second[0] == ev->keyCombination())
{
Q_EMIT HotkeyPressed(hotkey.first);
Q_EMIT HotkeyPressed(hotkey.first, ev->isAutoRepeat());
}
}
}