Delegate to proper base in QGeoPolygonPrivate::operator==()
The old implementation of QGeoPolygonPrivate was derived from
QGeoPathPrivate, but didn't use its m_width member variable.
Because of that, operator==() was skipping the QGeoPathPrivate
implementation and directly calling QGeoShapePrivate::operator==().
After that it was comparing path and holes.
The implementation worked correctly, but Axivion complainted about
a potential error when skipping the base QGeoPathPrivate::operator==()
implementation.
The refactoring in the previous commit introduced QGeoPathPrivateBase
as a common base for QGeoPathPrivate and QGeoPolygonPrivate. Now we
can call the proper base class implementation, because it does the
right thing.
This also allows us to remove the m_path comparison from QGeoPolygon
code and compare only m_holeList.
Axivion-Id: qt_Add-ons_qtpositioning_dev_linux:SV49
Fixes: QTBUG-144769
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: I1565245a03b1d1f668a60742bd4c6bc4e0365eff
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>