mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #1037
This commit is contained in:
parent
20f254651d
commit
8438c209d1
|
@ -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("<","<").replace(">",">");
|
||||
emit insertEmoticon(' ' + sequence + ' ');
|
||||
}
|
||||
}
|
||||
|
||||
void EmoticonsWidget::onPageButtonClicked()
|
||||
|
|
Loading…
Reference in New Issue
Block a user