diff --git a/debian/changelog b/debian/changelog index 077dab3c..a63d5a42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mx-packageinstaller (24.6.06) mx; urgency=medium + + * Fix: revert back to property comparison of qicon name() instead of cacheKey() + + -- fehlix Fri, 21 Jun 2024 05:27:32 -0400 + mx-packageinstaller (24.6.05) mx; urgency=medium * Fix: fallback for identical theme icons for installed and upgradable packages diff --git a/mainwindow.cpp b/mainwindow.cpp index 631b93b8..86b22fec 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1940,7 +1940,7 @@ void MainWindow::setIcons() const QIcon theme_icon_upgradable = QIcon::fromTheme(icon_upgradable, backup_icon_upgradable); const QIcon theme_icon_installed = QIcon::fromTheme(icon_installed, backup_icon_installed); - const bool force_backup_icon = (theme_icon_upgradable.cacheKey() == theme_icon_installed.cacheKey()); + const bool force_backup_icon = (theme_icon_upgradable.name() == theme_icon_installed.name()); qicon_installed = force_backup_icon ? backup_icon_installed : theme_icon_installed; qicon_upgradable = force_backup_icon ? backup_icon_upgradable : theme_icon_upgradable;