QGeoPathPrivate::lineContains(): fix handling of duplicate-point arcs
The case of a single-point path is handled at the start, but the case
of a line segment that starts and ends in the same place was not
addressed.
The function ended in a "Last check" whose explanation claimed it
involved the leftBoundMercator, but was actually just testing whether
the first point might be close enough. This is covered by the initial
single-point check and the new check within the loop when m_path[1]
coincides with m_path[0], and was redundant if any path segment had
distinct ends - since one of those must step off m_path[0], so its
check for closest point on segment ensures m_path[0] is either
recognised as such or ruled out. So remove the confusing comment and
simply return false here.
Task-number: QTBUG-142317
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I75ace22c4e05c6f07ab3d6560f74d86e828cb96a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>