Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3413

Behavior of operator<<(QDataStream &s, const QPolygon/QPolygonF) inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.5.0
    • GUI: Painting
    • None

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            fenglich Frans Englich (closed Nokia identity)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes