aboutsummaryrefslogtreecommitdiff
path: root/src/ui/helper/ShortcutHub.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-12-13 20:58:42 +0800
committercrupest <crupest@outlook.com>2021-12-13 20:58:42 +0800
commit21fccf43ec049569f690674840ca1a10420a40da (patch)
tree33341a51f41bc9d783221ad363e33ffeb177886b /src/ui/helper/ShortcutHub.cpp
parentc850d817cc0d8c2c80728f373f89dce91650023a (diff)
downloadcru-21fccf43ec049569f690674840ca1a10420a40da.tar.gz
cru-21fccf43ec049569f690674840ca1a10420a40da.tar.bz2
cru-21fccf43ec049569f690674840ca1a10420a40da.zip
...
Diffstat (limited to 'src/ui/helper/ShortcutHub.cpp')
-rw-r--r--src/ui/helper/ShortcutHub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/helper/ShortcutHub.cpp b/src/ui/helper/ShortcutHub.cpp
index f35ad0ef..c0b6c5d8 100644
--- a/src/ui/helper/ShortcutHub.cpp
+++ b/src/ui/helper/ShortcutHub.cpp
@@ -81,7 +81,7 @@ void ShortcutHub::Uninstall() {
event_guard_.Clear();
}
-void ShortcutHub::OnKeyDown(event::KeyEventArgs& event) {
+void ShortcutHub::OnKeyDown(events::KeyEventArgs& event) {
ShortcutKeyBind key_bind(event.GetKeyCode(), event.GetKeyModifier());
const auto& shortcut_list = this->GetShortcutByKeyBind(key_bind);