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

Missing comma in example code in qtconcurrentmap doc page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Some future release
    • 5.5.0, 5.5.1
    • Documentation
    • None
    • Ia32c9b298dc35ccdd95d92550c06cff52f918ea1

    Description

      In http://doc.qt.io/qt-5/qtconcurrentmap.html, in the section "Using Bound Function Arguments", the last code example:

      QList<QImage> images = ...;
      QFuture<QImage> thumbnails = QtConcurrent::mapped(images, std::bind(&QImage::scaledToWidth, 100 Qt::SmoothTransformation));
      

      As you can notice there is a missing comma between 100 and Qt::SmoothTransformation

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            theshadowx Ali Diouri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes