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

@@ -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);
}