aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/helper/ShortcutHub.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/helper/ShortcutHub.hpp')
-rw-r--r--include/cru/ui/helper/ShortcutHub.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/helper/ShortcutHub.hpp b/include/cru/ui/helper/ShortcutHub.hpp
index fe3414fe..7f098a6d 100644
--- a/include/cru/ui/helper/ShortcutHub.hpp
+++ b/include/cru/ui/helper/ShortcutHub.hpp
@@ -45,8 +45,8 @@ class ShortcutKeyBind {
return !this->operator==(other);
}
- std::u16string ToString() {
- std::u16string result = u"(";
+ String ToString() {
+ String result = u"(";
result += platform::gui::ToString(modifier_);
result += u")";
result += platform::gui::ToString(key_);