diff --git a/pcsx2-qt/Themes.cpp b/pcsx2-qt/Themes.cpp index ca8b4e9b85..0f85de7ac7 100644 --- a/pcsx2-qt/Themes.cpp +++ b/pcsx2-qt/Themes.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -43,6 +44,12 @@ void QtHost::UpdateApplicationTheme() SetStyleFromSettings(); SetIconThemeFromStyle(); + + // Qt generates tinted versions of icons and stores them in QPixmapCache + // The key used does not seem to include the theme (or tint colour). + // This can cause icons tinted for wrong theme to be used for selected/disabled. + // As a workaround, reset the pixmap cache to clear icons tinted for the old theme. + QPixmapCache::clear(); } bool QtHost::IsDarkApplicationTheme()