summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-25 21:58:17 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-25 22:04:26 -0500
commit61cc4cc37dfaab1c69ba922751088a0f2eb58920 (patch)
tree2e1ae2a40636f783e625997365b221417558d77a /scripts
parentMerge pull request #418 from LorenDB/fixEmojiCategories (diff)
downloadnheko-61cc4cc37dfaab1c69ba922751088a0f2eb58920.tar.xz
Use correct syntax for emoji generation script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/emoji_codegen.py2
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 %}
 };