update// added rederfcuntion to contactlist (causes segfaul on compiling)

This commit is contained in:
Strider
2020-04-28 22:05:40 +02:00
parent 2efec07e42
commit 30edee0470
9 changed files with 50 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ void ChatModel::renderChatBox(QListWidget *view)
QDateTime myDateTime;
myDateTime.setTime_t(c.second.getTimestamp());
qDebug() << "[" << myDateTime.toString("dd.MM.yyyy hh:mm:ss ") << "] " << "<" << c.second.getAddress() << "> :" << c.second.getMemo();
//qDebug() << "[" << myDateTime.toString("dd.MM.yyyy hh:mm:ss ") << "] " << "<" << c.second.getAddress() << "> :" << c.second.getMemo();
line += QString("[") + myDateTime.toString("dd.MM.yyyy hh:mm:ss ") + QString("] ");
line += QString("<") + QString(c.second.getContact()) + QString("> :\n");
line += QString(c.second.getMemo()) + QString("\n");