Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.0
-
None
Description
The behavior of:
QDataStream &operator>>(QDataStream &s, QPolygonF &a)
and:
QDataStream &operator>>(QDataStream &s, QPolygon &a)
is inconsistent. The latter clears the whole QPolygon by invoking its assignment operator, while the former inserts at the top, leaving any existing items at the end.