Browse Source

Fix #1037

pull/1816/head
tux3 10 years ago
parent
commit
8438c209d1
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 6
      src/widget/emoticonswidget.cpp

6
src/widget/emoticonswidget.cpp

@ -127,7 +127,11 @@ void EmoticonsWidget::onSmileyClicked()
// emit insert emoticon // emit insert emoticon
QWidget* sender = qobject_cast<QWidget*>(QObject::sender()); QWidget* sender = qobject_cast<QWidget*>(QObject::sender());
if (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() void EmoticonsWidget::onPageButtonClicked()

Loading…
Cancel
Save