mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
GUI: Enable palette change adaptation on all platforms
This commit is contained in:
@@ -238,7 +238,6 @@ void SendCoinsEntry::updateDisplayUnit()
|
||||
|
||||
void SendCoinsEntry::changeEvent(QEvent* e)
|
||||
{
|
||||
#ifdef Q_OS_MACOS
|
||||
if (e->type() == QEvent::PaletteChange) {
|
||||
ui->addressBookButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/address-book")));
|
||||
ui->pasteButton->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/editpaste")));
|
||||
@@ -246,7 +245,6 @@ void SendCoinsEntry::changeEvent(QEvent* e)
|
||||
ui->deleteButton_is->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
||||
ui->deleteButton_s->setIcon(platformStyle->SingleColorIcon(QStringLiteral(":/icons/remove")));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool SendCoinsEntry::updateLabel(const QString &address)
|
||||
|
||||
Reference in New Issue
Block a user