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>
commit8bbed15209d10de1782ee9c6e9d13205f9ac2b2e
parent44f83cdadde01b638235660272d3b3602f7931c5
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeThu, 23 Oct 2025 19:02:40 +0000