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

QList documentation mistake in QList::fromVector()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.9.0
    • Documentation
    • None

    Description

      In the static method documentation QList::fromVector(), the exemple give:

      QList<double> list = QVector<T>::fromVector(vect);
      // list: [20.0, 30.0, 40.0, 50.0]

      whereas it should give:

      QList<double> list = QList<double>::fromVector(vect);
      // list: [20.0, 30.0, 40.0, 50.0]

      Attachments

        Issue Links

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

          Activity

            People

              docteam Qt Documentation Team
              vithom Vincent THOMAS
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes