Don't check the count when it's not going to painted
This commit is contained in:
parent
439f8d0914
commit
1b589a35cf
|
@ -130,8 +130,9 @@ bool IconGraphic::isRefreshNeeded(
|
||||||
return _trayIcon.isNull()
|
return _trayIcon.isNull()
|
||||||
|| iconThemeName != _themeName
|
|| iconThemeName != _themeName
|
||||||
|| systemIcon.name() != _systemIcon.name()
|
|| systemIcon.name() != _systemIcon.name()
|
||||||
|| muted != _muted
|
|| (systemIcon.name() != PanelIconName(counter, muted)
|
||||||
|| counterSlice(counter) != _count;
|
? muted != _muted || counterSlice(counter) != _count
|
||||||
|
: false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IconGraphic::updateIconRegenerationNeeded(
|
void IconGraphic::updateIconRegenerationNeeded(
|
||||||
|
|
Loading…
Reference in New Issue