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

Review and fix API of QRangeCollection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.0.0 RC
    • GUI: Printing
    • None
    • b14b1c99f8d122c7988cd6e59b0f3fef15923da4 (qt/qtbase/dev)

    Description

      As per the API comments at

      • Replace generic QPair<int, int> with a dedicated struct that provides meaningful semantics
      • fix useless const in contains(const int)
      • use unique_ptr instead of QScopedPointer, or make QRangeCollection a copyable (perhaps implicitly shared, although perhaps unnecessary) value-type

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes