1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
tux3 2015-06-06 01:51:08 +02:00
parent 20f254651d
commit 8438c209d1
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -127,7 +127,11 @@ void EmoticonsWidget::onSmileyClicked()
// emit insert emoticon
QWidget* sender = qobject_cast<QWidget*>(QObject::sender());
if (sender)
emit insertEmoticon(' ' + sender->property("sequence").toString() + ' ');
{
QString sequence = sender->property("sequence").toString()
.replace("&lt;","<").replace("&gt;",">");
emit insertEmoticon(' ' + sequence + ' ');
}
}
void EmoticonsWidget::onPageButtonClicked()