diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2026-01-08 18:17:37 +0300 |
|---|---|---|
| committer | Fat-Zer <fatzer2@gmail.com> | 2026-02-13 19:41:02 +0000 |
| commit | 7a5b6c55a2f750986ede116b8f09bda2588de3a9 (patch) | |
| tree | ecb452bd0cc0c84ed6138d4d711f54dc547c473a /kicker/taskmanager/taskmanager.cpp | |
| parent | 264f1faae9d684b38b3c3fea27912a153546e8b9 (diff) | |
| download | tdebase-7a5b6c55a2f750986ede116b8f09bda2588de3a9.tar.gz tdebase-7a5b6c55a2f750986ede116b8f09bda2588de3a9.zip | |
twin: refactor Client::updateOpacity() and associated stuff
* deduplicate big chunk of code in updateOpacity()
* move logic to get desired opacity according to rules into a dedicated
function (defaultOpacity()).
* Replace floating point arithmetics with pure integer one in function
associated to converting to/from percents.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'kicker/taskmanager/taskmanager.cpp')
0 files changed, 0 insertions, 0 deletions
