diff options
author | BulbyVR <26726264+TheDrawingCoder-Gamer@users.noreply.github.com> | 2022-04-22 21:42:29 -0400 |
---|---|---|
committer | BulbyVR <26726264+TheDrawingCoder-Gamer@users.noreply.github.com> | 2022-04-24 12:25:01 -0400 |
commit | 209865e8826e9107cba5b41eed9e9ca00e1b1276 (patch) | |
tree | 082b22a520a4ca11d858a5c53a9bb956e497667d /src/emoji | |
parent | 22f90874cc0b0cc1af03f54b359ff36d8878642b (diff) |
Add more aliases, start on regional indicators
Diffstat (limited to 'src/emoji')
-rw-r--r-- | src/emoji/EmojiModel.cpp | 4 | ||||
-rw-r--r-- | src/emoji/Provider.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/emoji/EmojiModel.cpp b/src/emoji/EmojiModel.cpp index 3cb13ff4..45b3b432 100644 --- a/src/emoji/EmojiModel.cpp +++ b/src/emoji/EmojiModel.cpp @@ -59,10 +59,10 @@ EmojiModel::data(const QModelIndex &index, int role) const return Provider::emoji[index.row()].unicode; case Qt::ToolTipRole: - case CompletionModel::SearchRole: + case CompletionModel::SearchRole2: case static_cast<int>(EmojiModel::Roles::UnicodeName): return Provider::emoji[index.row()].unicodeName; - case CompletionModel::SearchRole2: + case CompletionModel::SearchRole: case static_cast<int>(EmojiModel::Roles::ShortName): return Provider::emoji[index.row()].shortName; case static_cast<int>(EmojiModel::Roles::Category): diff --git a/src/emoji/Provider.cpp b/src/emoji/Provider.cpp index ab0b1016..9df0f4a5 100644 --- a/src/emoji/Provider.cpp +++ b/src/emoji/Provider.cpp @@ -62,7 +62,7 @@ const QVector<Emoji> emoji::Provider::emoji = { QStringLiteral(u"smiling face with smiling eyes"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F607"), - QStringLiteral(u"smiling_face_with_halo"), + QStringLiteral(u"innocent"), QStringLiteral(u"smiling face with halo"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F970"), @@ -102,7 +102,7 @@ const QVector<Emoji> emoji::Provider::emoji = { QStringLiteral(u"smiling face with tear"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F60B"), - QStringLiteral(u"face_savoring_food"), + QStringLiteral(u"yum"), QStringLiteral(u"face savoring food"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F61B"), @@ -126,7 +126,7 @@ const QVector<Emoji> emoji::Provider::emoji = { QStringLiteral(u"money-mouth face"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F917"), - QStringLiteral(u"smiling_face_with_open_hands"), + QStringLiteral(u"hugging_face"), QStringLiteral(u"smiling face with open hands"), emoji::Emoji::Category::People}, Emoji{QStringLiteral(u"\U0001F92D"), |