Commit 63d1d905 authored by David Faure's avatar David Faure Committed by Laurent Montel
Browse files

EmoticonTextEditItem: avoid emitting dataChanged

hotspot showed that 0.15% of the KMComposerWin constructor is spent
here because setText() emits dataChanged, that's easy to remove.

(cherry picked from commit 5ab403da)
parent 2905762b
......@@ -23,10 +23,9 @@
using namespace KPIMTextEdit;
EmoticonTextEditItem::EmoticonTextEditItem(const QString &emoticonText, QListWidget *parent)
: QListWidgetItem(parent)
: QListWidgetItem(mText, parent)
, mText(emoticonText)
QString EmoticonTextEditItem::text() const
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