update// refactored addressbook with new storage format

This commit is contained in:
Strider
2020-04-28 20:24:50 +02:00
parent ae08346bff
commit 2efec07e42
10 changed files with 165 additions and 44 deletions

View File

@@ -86,8 +86,8 @@ void ChatModel::renderChatBox(QListWidget *view)
myDateTime.setTime_t(c.second.getTimestamp());
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.getAddress()) + QString("> :\n");
line += QString(c.second.getMemo());
line += QString("<") + QString(c.second.getContact()) + QString("> :\n");
line += QString(c.second.getMemo()) + QString("\n");
view->addItem(line);
line ="";
}