mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-29 08:19:21 +02:00
GUI: Enable palette change adaptation on all platforms
This commit is contained in:
@@ -809,11 +809,9 @@ void ThemedLabel::setThemedPixmap(const QString& image_filename, int width, int
|
||||
|
||||
void ThemedLabel::changeEvent(QEvent* e)
|
||||
{
|
||||
#ifdef Q_OS_MACOS
|
||||
if (e->type() == QEvent::PaletteChange) {
|
||||
updateThemedPixmap();
|
||||
}
|
||||
#endif
|
||||
QLabel::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user