Browse Source

change text with theme

pull/130/head
DenioD 4 years ago
parent
commit
da65008a88
  1. 9
      src/mainwindow.cpp

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

Loading…
Cancel
Save