From 4f4ec7cd317bd21114c4cf5ebc2d79c3135b029e Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Fri, 1 May 2020 13:42:25 +0200 Subject: [PATCH] fix typo --- src/chatmodel.cpp | 4 ++++ src/chatmodel.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index eaa1b88..558ea6f 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -100,6 +100,10 @@ void ChatModel::renderChatBox(Ui::MainWindow* ui, QListWidget *view) line += QString(c.second.getMemo()) + QString("\n"); view->addItem(line); line =""; + + ////////////////////////////////// Todo : Render green checkmark for contacts if cid = cid - We have to search for cid in txid/cid list + QString cid = c.second.getCid(); + }else{} if ((ui->MyZaddr->text().trimmed() == c.second.getAddress()) && (c.second.getMemo().startsWith("{") == false) && (c.second.getMemo().isEmpty() == false)){ diff --git a/src/chatmodel.h b/src/chatmodel.h index 4e822c1..9f06d3a 100644 --- a/src/chatmodel.h +++ b/src/chatmodel.h @@ -75,7 +75,7 @@ class ChatItem QString getTxid() { - return _cid; + return _txid; } bool isOutgoing()