aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/helper
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
committercrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
commit4fc39124bc876a9c78a04cb86397a4f0f08878e9 (patch)
tree27b9919b8c17710aed3031b6f1e64055dab0683f /include/cru/ui/helper
parent8b5df96202b8eb663a9a747c1c9d249f64a933e8 (diff)
downloadcru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.gz
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.bz2
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.zip
...
Diffstat (limited to 'include/cru/ui/helper')
-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_);