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 e4986f33 authored by Laurent Montel's avatar Laurent Montel 😁

Allow to add emoticon in subject too

parent 345323b0
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.10.90")
set(PIM_VERSION "5.10.91")
project(KPimTextEdit VERSION ${PIM_VERSION})
......
......@@ -128,6 +128,7 @@ Q_SIGNALS:
void externalEditorStarted();
void externalEditorClosed();
void insertEmoticon(const QString &str);
protected:
void keyPressEvent(QKeyEvent *event) override;
......
......@@ -416,7 +416,7 @@ void RichTextComposerActions::createActions(KActionCollection *ac)
ac->addAction(QStringLiteral("add_emoticon"), d->action_add_emoticon);
}
//Don't add to d->richTextActionList as we want to use it when we use plain text email too
connect(d->action_add_emoticon, &EmoticonTextEditAction::emoticonActivated, d->composerControler, &RichTextComposerControler::slotAddEmoticon);
connect(d->action_add_emoticon, &EmoticonTextEditAction::emoticonActivated, d->composerControler->richTextComposer(), &RichTextComposer::insertEmoticon);
d->action_insert_html = new QAction(i18n("Insert HTML"), this);
......
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