diff options
author | Johan Hauan <johan@hauan.name> | 2010-04-06 09:34:57 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-04-06 09:45:56 (GMT) |
commit | a354e98838e67e9bbd9473d4cd42b89f45d0e3fe (patch) | |
tree | ebae89ee1ee9e6fcf2187260352c216957093242 /examples | |
parent | 1a4ee517638e1ba3cdc622af70b3d53561d23392 (diff) | |
download | Qt-a354e98838e67e9bbd9473d4cd42b89f45d0e3fe.zip Qt-a354e98838e67e9bbd9473d4cd42b89f45d0e3fe.tar.gz Qt-a354e98838e67e9bbd9473d4cd42b89f45d0e3fe.tar.bz2 |
Sunstudio12.1(5.10): Fix compile errors GTK style and other minor compile errors
GTK Style
A QHashableLatin1Literal was a bit too clever for sunstudio.
Added and alternate constructor for sunstudio(ifdef)
Should not affect other compilers.
Other: Minor compile fixes, extra semicolon after macros etc.
Merge-request: 547
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qtconcurrent/map/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index 6068d30..6afefca 100644 --- a/examples/qtconcurrent/map/main.cpp +++ b/examples/qtconcurrent/map/main.cpp @@ -67,7 +67,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(images, scale); + QList<QImage> thumbnails = QtConcurrent::blockingMapped<QList<QImage> >(images, scale); return 0; } |