diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-01-25 21:58:17 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-01-25 22:04:26 -0500 |
commit | 61cc4cc37dfaab1c69ba922751088a0f2eb58920 (patch) | |
tree | 2e1ae2a40636f783e625997365b221417558d77a /scripts | |
parent | Merge pull request #418 from LorenDB/fixEmojiCategories (diff) | |
download | nheko-61cc4cc37dfaab1c69ba922751088a0f2eb58920.tar.xz |
Use correct syntax for emoji generation script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/emoji_codegen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/emoji_codegen.py b/scripts/emoji_codegen.py index 588b026b..df581036 100755 --- a/scripts/emoji_codegen.py +++ b/scripts/emoji_codegen.py @@ -17,7 +17,7 @@ const QVector<Emoji> emoji::Provider::emoji = { {%- for c in kwargs.items() %} // {{ c[0].capitalize() }} {%- for e in c[1] %} - Emoji{QString::fromUtf8("{{ e.code }}"), "{{ e.shortname }}", emoji::EmojiCategory::{{ c[0].capitalize() }}}, + Emoji{QString::fromUtf8("{{ e.code }}"), "{{ e.shortname }}", emoji::Emoji::Category::{{ c[0].capitalize() }}}, {%- endfor %} {%- endfor %} }; |