Optimize system tray icon cache invalidation

This commit is contained in:
Ilya Fedin 2023-03-09 03:06:11 +04:00 committed by John Preston
parent 96cced8401
commit 8975a31597

View file

@ -91,7 +91,7 @@ QIcon IconGraphic::systemIcon(
int counter,
bool muted) const {
if (iconThemeName == _themeName
&& counterSlice(counter) == _count
&& (counter > 0) == (_count > 0)
&& muted == _muted) {
return _systemIcon;
}