From da65008a880a1c41e89e37930705004d27b52972 Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Wed, 20 May 2020 20:58:23 +0200 Subject: [PATCH] change text with theme --- src/mainwindow.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b3868d4..e895947 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1027,6 +1027,8 @@ void MainWindow::setupchatTab() { QIcon addnewAddrIcon(newAddr); ui->givemeZaddr->setIcon(addnewAddrIcon); + ui->memoTxtChat->setTextColor("White"); + }else{ QPixmap send(":/icons/res/sendBlack.png"); @@ -1044,6 +1046,8 @@ void MainWindow::setupchatTab() { QPixmap newAddr(":/icons/res/getAddrBlack.png"); QIcon addnewAddrIcon(newAddr); ui->givemeZaddr->setIcon(addnewAddrIcon); + + ui->memoTxtChat->setTextColor("Black"); } @@ -1109,11 +1113,6 @@ void ChatMemoEdit::setMaxLen(int len) { updateDisplay(); } -void ChatMemoEdit::setSendChatButton(QPushButton* button) { - this->sendChatButton = button; -} - - void MainWindow::updateChat() { rpc->refreshChat(ui->listChat);