mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
cleanup
This commit is contained in:
parent
698fcb70f0
commit
99a230ccf5
|
@ -52,7 +52,9 @@ ChatMessage *ChatMessage::createChatMessage(QGraphicsScene *scene, const QString
|
|||
msg->setAsAction();
|
||||
}
|
||||
else if(alert)
|
||||
{
|
||||
text = "<div class=alert>" + text + "</div>";
|
||||
}
|
||||
|
||||
msg->addColumn(new Text(isAction ? "*" : sender, isMe ? Style::getFont(Style::BigBold) : Style::getFont(Style::Big), true), ColumnFormat(NAME_COL_WIDTH, ColumnFormat::FixedSize, ColumnFormat::Right));
|
||||
msg->addColumn(new Text(text, Style::getFont(Style::Big)), ColumnFormat(1.0, ColumnFormat::VariableSize));
|
||||
|
|
Loading…
Reference in New Issue
Block a user