diff --git a/src/chatwindow.cpp b/src/chatwindow.cpp
index 1380326..b9dc5ef 100644
--- a/src/chatwindow.cpp
+++ b/src/chatwindow.cpp
@@ -32,7 +32,7 @@ void ChatWindow::sendMessage(QString msgText)
jSend["msgText"] = msgText;
network->sendDatagram(jSend, peerID);
QDateTime date(QDateTime::currentDateTime());
- ui->chatEdit->append("[" + date.toString() + "] " + tr("You: ") + msgText);
+ ui->chatEdit->append("[" + date.toString() + "] " + tr("You: ") + msgText);
}
void ChatWindow::sendMsgButtonClicked()
@@ -45,7 +45,7 @@ void ChatWindow::sendMsgButtonClicked()
void ChatWindow::displayMsg(QString msgText)
{
QDateTime date(QDateTime::currentDateTime());
- ui->chatEdit->append("[" + date.toString() + "] " + "" + peerID + "" + ": " + msgText);
+ ui->chatEdit->append("[" + date.toString() + "] " + "" + peerID + "" + ": " + msgText);
}
void ChatWindow::leftFromChat()