GUI: Enable palette change adaptation on all platforms

This commit is contained in:
Luke Dashjr
2021-06-22 19:19:50 +00:00
parent 327e2691f6
commit c901d4d8ce
8 changed files with 0 additions and 18 deletions

View File

@@ -297,13 +297,11 @@ void OverviewPage::setWalletModel(WalletModel *model)
void OverviewPage::changeEvent(QEvent* e)
{
#ifdef Q_OS_MACOS
if (e->type() == QEvent::PaletteChange) {
QIcon icon = m_platform_style->SingleColorIcon(QStringLiteral(":/icons/warning"));
ui->labelTransactionsStatus->setIcon(icon);
ui->labelWalletStatus->setIcon(icon);
}
#endif
}
void OverviewPage::updateDisplayUnit()