mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:20:06 +00:00
Hotkey repeat handling update
This commit is contained in:
parent
399894f2db
commit
dcaba52db7
3 changed files with 18 additions and 15 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue