Make default completer complete custom emoji

This commit is contained in:
Nicolas Werner 2023-05-25 21:50:54 +02:00
parent dd74bdc697
commit 51084748ee
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
12 changed files with 82 additions and 228 deletions

View file

@ -18,8 +18,8 @@ Q_DECLARE_METATYPE(TextEmoji)
Q_DECLARE_METATYPE(SectionDescription)
Q_DECLARE_METATYPE(QList<SectionDescription>)
static QString
categoryToName(emoji::Emoji::Category cat)
QString
emoji::categoryToName(emoji::Emoji::Category cat)
{
switch (cat) {
case emoji::Emoji::Category::People: