path: root/examples
diff options
authorDavid Faure <>2015-07-16 13:15:03 +0200
committerDavid Faure <>2015-07-17 14:29:42 +0000
commit31a1b3df1d1577901e3bf7977987295d49ac44ec (patch)
treebd6dde218986f82c6c3deb0b2cdfa9e6d6be7434 /examples
parent4b8ba3c91a06447a28a21da9bb276ce9a9d124a8 (diff)
QtConcurrent example: remove unneeded explicit template type
I show this code during trainings and this explicit template type just makes the line of code more complex than it has to be. Change-Id: I294c65f48967e54c67d9c3b8e1de96c3c2495a5b Reviewed-by: Olivier Goffart (Woboq GmbH) <>
Diffstat (limited to 'examples')
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp
index 75b1da4e6f..eaa7c911cb 100644
--- a/examples/qtconcurrent/map/main.cpp
+++ b/examples/qtconcurrent/map/main.cpp
@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
// Use QtConcurrentBlocking::mapped to apply the scale function to all the
// images in the list.
- QList<QImage> thumbnails = QtConcurrent::blockingMapped<QList<QImage> >(images, scale);
+ QList<QImage> thumbnails = QtConcurrent::blockingMapped(images, scale);
return 0;