Add description for emoji

This commit is contained in:
Gary Wang
2022-12-06 19:10:49 +08:00
committed by Tobias Fella
parent 507bd44bbf
commit e8824edfd4
9 changed files with 3669 additions and 3638 deletions

View File

@@ -48,6 +48,8 @@ QVariant EmojiModel::data(const QModelIndex &index, int role) const
return QStringLiteral("invalid");
case DisplayRole:
return QStringLiteral("%2 :%1:").arg(emoji.shortName, emoji.unicode);
case DescriptionRole:
return emoji.description;
}
}
return {};