Commit daa1bed6 authored by Laurent Montel's avatar Laurent Montel 😁

Load emoticons from theme

parent 79f70a97
......@@ -46,7 +46,6 @@ void EmoticonUnicodeTab::loadEmoticons()
createPlainTextEmoticonTab(i18n("Flags"), KPIMTextEdit::TextUtils::unicodeFlagsEmoji());
} else {
......@@ -54,11 +53,9 @@ void EmoticonUnicodeTab::createEmoticonTab(const QString &str)
//Only one tab
EmoticonListWidgetSelector *selector = new EmoticonListWidgetSelector(this);
//TODO load it
addTab(selector, str);
connect(selector, &KPIMTextEdit::EmoticonListWidgetSelector::itemSelected, this, &EmoticonUnicodeTab::itemSelected);
void EmoticonUnicodeTab::createPlainTextEmoticonTab(const QString &str, const QList<uint> &emoticons)
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