1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src
sudden6 3c58b992c6
perf: reduce repainting in animations
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 problem
2021-11-28 12:45:14 +01:00
..
chatlog perf: reduce repainting in animations 2021-11-28 12:45:14 +01:00
core refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
model revert(chatlog): Revert cleanup 2021-11-21 16:17:35 -08:00
net refactor(log): change unstable version warning message 2020-12-15 16:28:41 +02:00
persistence fix(history): Fix qt deprecation warning 2021-11-21 16:17:15 -08:00
platform fix(appimage): Use external binary path when enabling autorun from appimage 2021-09-23 21:05:27 -07:00
video refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
widget refactor(chatlog): Rename ChatLog -> ChatWidget 2021-11-21 16:18:45 -08:00
friendlist.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
friendlist.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
grouplist.cpp refactor: remove Core::getInstance from grouplist 2020-05-11 10:28:26 +02:00
grouplist.h refactor: remove Core::getInstance from grouplist 2020-05-11 10:28:26 +02:00
ipc.cpp fix(ipc): allow IPC under windows by not using std::random_device with mingw 2020-04-30 19:26:18 -07:00
ipc.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
loginscreen.ui refactor(nexus): make loginscreen independent of nexus 2018-02-01 22:00:06 +01:00
main.cpp refactor(core): use STL random implementation insted of Qt 2020-12-22 16:37:05 +01:00
mainwindow.ui fix(ui): show empty status as placeholder instead of as status 2019-05-07 14:34:08 -07:00
nexus.cpp feat(messages): Multipacket message support 2021-01-30 12:52:06 -08:00
nexus.h refactor(cmake): change folder structure 2020-05-11 16:45:52 +02:00