summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/code
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-11-22 21:35:42 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-28 05:52:36 +0100
commit0eedffa01daed077aba4781b240068929cf768be (patch)
treeefc50b8f6f8e0c57f4a9e1f5e60ec46667fe786b /src/gui/doc/snippets/code
parent9a97e78d8310c13212aacd578f5529b5521e395a (diff)
Fusion style: misc speedup drawing indeterminate progress bar
When drawing an indeterminate progress bar, QPainter::drawLine() is called very often. Avoid it by first calculating all lines and then call QPainter::drawLines() once with all lines to draw. Pick-to: 6.8 Change-Id: I51ce23236b945b30da649fd06aad60676321e403 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions