mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-09 09:21:00 +00:00
Swapped the <i> tag and the square bracket in the message time
This commit is contained in:
parent
a397b6fe2f
commit
810bfbc246
@ -32,7 +32,7 @@ void ChatWindow::sendMessage(QString msgText)
|
||||
jSend["msgText"] = msgText;
|
||||
network->sendDatagram(jSend, peerID);
|
||||
QDateTime date(QDateTime::currentDateTime());
|
||||
ui->chatEdit->append("[<i>" + date.toString() + "</i>] " + tr("<b>You</b>: ") + msgText);
|
||||
ui->chatEdit->append("<i>[" + date.toString() + "]</i> " + tr("<b>You</b>: ") + msgText);
|
||||
}
|
||||
|
||||
void ChatWindow::sendMsgButtonClicked()
|
||||
@ -45,7 +45,7 @@ void ChatWindow::sendMsgButtonClicked()
|
||||
void ChatWindow::displayMsg(QString msgText)
|
||||
{
|
||||
QDateTime date(QDateTime::currentDateTime());
|
||||
ui->chatEdit->append("[<i>" + date.toString() + "</i>] " + "<b>" + peerID + "</b>" + ": " + msgText);
|
||||
ui->chatEdit->append("<i>[" + date.toString() + "]</i> " + "<b>" + peerID + "</b>" + ": " + msgText);
|
||||
}
|
||||
|
||||
void ChatWindow::leftFromChat()
|
||||
|
Loading…
Reference in New Issue
Block a user