mirror of https://github.com/qTox/qTox.git
Browse Source
By profiling qTox using perf I discovered, that NotificationIcon::updateGradient takes significant amount of CPU time even though qTox is idle and no one is typing. This commit fixes: 1) correctly determine visibility of NotificationIcon 2) only invalidate boundingRect in fixed intervals 3) apply the same fixes to Spinner since it has the same problemreviewable/pr6414/r1
6 changed files with 38 additions and 31 deletions
Loading…
Reference in new issue