Make qtconcurrent map example compile on exotic compilers
Task-number: QTBUG-9015 Change-Id: I1019765312c8d55728023642601199506269be6d Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
parent
f222d520cd
commit
935e6a2b33
@ -64,7 +64,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Use QtConcurrentBlocking::mapped to apply the scale function to all the
|
// Use QtConcurrentBlocking::mapped to apply the scale function to all the
|
||||||
// images in the list.
|
// images in the list.
|
||||||
QList<QImage> thumbnails = QtConcurrent::blockingMapped(images, scale);
|
QList<QImage> thumbnails = QtConcurrent::blockingMapped<QList<QImage> >(images, scale);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user