change text with theme

This commit is contained in:
DenioD
2020-05-20 20:58:23 +02:00
parent 41e3bbdfae
commit da65008a88

View File

@@ -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);