https://bugs.kde.org/show_bug.cgi?id=346644
--- Comment #3 from Laurent Montel <mon...@kde.org> --- When I read qt code I see that icon is caching QIcon QIcon::fromTheme(const QString &name, const QIcon &fallback) { QIcon icon; if (qtIconCache()->contains(name)) { icon = *qtIconCache()->object(name); } else { QPlatformTheme * const platformTheme = QGuiApplicationPrivate::platformTheme(); QIconEngine * const engine = platformTheme ? platformTheme->createIconEngine(name) : new QIconLoaderEngine(name); QIcon *cachedIcon = new QIcon(engine); icon = *cachedIcon; qtIconCache()->insert(name, cachedIcon); } // Note the qapp check is to allow lazy loading of static icons // Supporting fallbacks will not work for this case. if (qApp && icon.availableSizes().isEmpty()) return fallback; return icon; } for the moment I don't understand why it doesn't work. Perhaps CollectionUtils::displayIconName has a problem. I will look at. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs