Avoid drawing markers for zero-length paths
Trying to draw them caused a division by zero in
QPainterPath::angleAtPercent.
Pick-to: 6.10 6.8
Change-Id: I1809094cf3901914dbb1f1e07190d25450b0f3dd
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 8bbed15209d10de1782ee9c6e9d13205f9ac2b2e |
| parent | 44f83cdadde01b638235660272d3b3602f7931c5 |
| author | Robert Löhning <robert.loehning@qt.io> |
| committer | Robert Löhning <robert.loehning@qt.io> |
| commit time | Thu, 23 Oct 2025 19:02:40 +0000 |