aboutsummaryrefslogtreecommitdiff
path: root/src/ui/helper/ShortcutHub.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-07 13:52:34 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-07 13:52:34 +0800
commitbba3d52af4526ee19bd962c2448d0f8d24d4070b (patch)
tree592839be6277cb79cf81bb88091c6d0ada0e3cfc /src/ui/helper/ShortcutHub.cpp
parent6e665c0b9c0d38fe597df04a517833e219bddfc1 (diff)
downloadcru-bba3d52af4526ee19bd962c2448d0f8d24d4070b.tar.gz
cru-bba3d52af4526ee19bd962c2448d0f8d24d4070b.tar.bz2
cru-bba3d52af4526ee19bd962c2448d0f8d24d4070b.zip
Fix some compile error on macOS.
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 e3a06e8c..80e70fe1 100644
--- a/src/ui/helper/ShortcutHub.cpp
+++ b/src/ui/helper/ShortcutHub.cpp
@@ -93,7 +93,7 @@ void ShortcutHub::OnKeyDown(events::KeyEventArgs& event) {
key_bind.ToString().ToUtf8());
}
CRU_LOG_TAG_DEBUG("Begin to handle shortcut for key bind {}.",
- key_bind.ToString());
+ key_bind.ToString().ToUtf8());
}
for (const auto& shortcut : shortcut_list) {