diff options
author | Mayeul Cantan <oss+nheko@mayeul.net> | 2020-11-01 02:47:47 +0100 |
---|---|---|
committer | Mayeul Cantan <oss+nheko@mayeul.net> | 2020-11-07 13:54:06 +0100 |
commit | 5f086cd93d5a84f41b1157109ac0936a8de3bdec (patch) | |
tree | 82b8f9cc706e8b6bb2986fe637706a901bb41134 /src/ui | |
parent | Smooth avatars in widgets (diff) | |
download | nheko-5f086cd93d5a84f41b1157109ac0936a8de3bdec.tar.xz |
Simplify PainterHighQualityEnabler code
There is no need to iterate over a list, flags can be applied and stored simultaneously.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/Painter.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/ui/Painter.h b/src/ui/Painter.h |