From 61cc4cc37dfaab1c69ba922751088a0f2eb58920 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Mon, 25 Jan 2021 21:58:17 -0500 Subject: Use correct syntax for emoji generation script --- scripts/emoji_codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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::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 %} }; -- cgit 1.5.1