mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Optimize system tray icon cache invalidation
This commit is contained in:
parent
96cced8401
commit
8975a31597
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ QIcon IconGraphic::systemIcon(
|
||||||
int counter,
|
int counter,
|
||||||
bool muted) const {
|
bool muted) const {
|
||||||
if (iconThemeName == _themeName
|
if (iconThemeName == _themeName
|
||||||
&& counterSlice(counter) == _count
|
&& (counter > 0) == (_count > 0)
|
||||||
&& muted == _muted) {
|
&& muted == _muted) {
|
||||||
return _systemIcon;
|
return _systemIcon;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue