mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 09:55:24 +00:00
Optimize system tray icon cache invalidation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user