mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 16:53:52 +02:00
GUI: Enable palette change adaptation on all platforms
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user