set maxLen for Chatmessages

This commit is contained in:
DenioD
2020-05-21 20:31:54 +02:00
parent ee672cfcca
commit 7e0748dd24
8 changed files with 88 additions and 48 deletions

View File

@@ -1009,7 +1009,7 @@ void Controller::refreshTransactions() {
// Update model data, which updates the table view
transactionsTableModel->replaceData(txdata);
chat->renderChatBox(ui, ui->listChat);
chat->renderChatBox(ui, ui->listChat,ui->memoSize);
// refreshContacts(
// ui->listContactWidget
@@ -1017,9 +1017,9 @@ void Controller::refreshTransactions() {
});
}
void Controller::refreshChat(QListView *listWidget)
void Controller::refreshChat(QListView *listWidget, QLabel *label)
{
chat->renderChatBox(ui, listWidget);
chat->renderChatBox(ui, listWidget, label);
}