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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.5.0
    • GUI: Painting
    • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes