summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qjnienvironment.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-04-13 14:23:45 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-04-15 10:10:41 +0000
commitada12ec960bd05c62eb4a9acea84516a8a642d3a (patch)
tree56c62d5e0632572da54e3511c70e79add0cf766e /src/corelib/kernel/qjnienvironment.cpp
parent0ba9a4f832e87b0709ab781bb19fcba003cfc043 (diff)
Avoid processing-intensive painting of high number of tiny dashes
When stroking a dashed path, an unnecessary amount of processing would be spent if there is a huge number of dashes visible, e.g. because of scaling. Since the dashes are too small to be indivdually visible anyway, just replace with a semi-transparent solid line for such cases. Change-Id: I9e9f7861257ad5bce46a0cf113d1a9d7824911e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit f4d791b330d02777fcaf02938732892eb3167e9b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/kernel/qjnienvironment.cpp')
0 files changed, 0 insertions, 0 deletions