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

Review and fix API of QRangeCollection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0 RC
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Labels:
      None
    • Commits:
      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

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            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