Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0, 5.5.1
-
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