Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 37091e22 authored by Laurent Montel's avatar Laurent Montel 😁

Add more emoji

parent 021e7af8
......@@ -93,10 +93,11 @@ void EmoticonTextEditSelector::slotCreateEmoticonList()
{
mListEmoticon->clear();
if (mEmojiPlainText) {
uint cp = 0x1F50E;
const QString str = QString::fromUcs4(&cp, 1);
new EmoticonTextEditItem(str, mListEmoticon);
//TODO
const QList<uint> lstEmoji{0x1F50E, 0x1F603, 0x1F604, 0x1F601, 0x1F606, 0x1F605}; //Add more
for (uint emoji : lstEmoji) {
const QString str = QString::fromUcs4(&emoji, 1);
new EmoticonTextEditItem(str, mListEmoticon);
}
} else {
static QString cachedEmoticonsThemeName;
if (cachedEmoticonsThemeName.isEmpty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment