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

Add QSet::toVector()

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • None
    • None
    • None
    • c8aadc79fceac70ec18a3971d61c52930ef5f589 (qt/qtbase/5.15)

      I have code that fills a QSet to avoid duplicates, but returns a QVector. Currently I have to manually copy the QVector from the QSet, because QSet offers no QVector conversion function. Currently the only way to convert to a QVector using the existing API is to call set.toList().toVector().

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

            sgaist Samuel Gaist
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes