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

QMultiMap documentation error

    XMLWordPrintable

Details

    • d796624c5 (dev), 27be432d5 (6.10), 46f61f8d2 (6.9)

    Description

      There's a copy/paste error in the documentation for QMultiMap:

      This inserts the following three (key, value) pairs into the QMultiMap: ("a", 1), ("b", 3), ("c", 7), and ("c", -5); note that duplicate keys are allowed.

      This appears to have been copy/pasted from QMap, with the addition of one pair having a duplicate key, but the word "three" wasn't changed to "four".

      Also, it would be more helpful to the reader to reverse the order of the duplicate-key pairs in that sentence, because in this caseĀ QMultiMapIterator would produce ("c", -5) (the more recently inserted pair) before producing ("c", 7).

      Attachments

        For Gerrit Dashboard: QTBUG-138043
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            barbicels- R Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change