summaryrefslogtreecommitdiffstats
path: root/examples/qtconcurrent/map/main.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-05 14:32:52 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-07 00:39:09 +0200
commit1f8b8d56b225c0d7bf593e214f89351e283394c5 (patch)
tree07e947d00b87188e65589b0a39dbd280b1aec592 /examples/qtconcurrent/map/main.cpp
parent58db6e882290c3bb4102e0c2e47e653af55ca1ca (diff)
Remove widgets dependency from qtconcurrent/map autotest
Change-Id: I734ae73a530ab6eb27271586040ef910e6ad0e2c Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/qtconcurrent/map/main.cpp')
-rw-r--r--examples/qtconcurrent/map/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp
index eec8a09ee7..210f62aa97 100644
--- a/examples/qtconcurrent/map/main.cpp
+++ b/examples/qtconcurrent/map/main.cpp
@@ -42,7 +42,7 @@
#include <QList>
#include <QThread>
#include <QDebug>
-#include <QApplication>
+#include <QGuiApplication>
#include <qtconcurrentmap.h>
#ifndef QT_NO_CONCURRENT
@@ -55,7 +55,7 @@ QImage scale(const QImage &image)
int main(int argc, char *argv[])
{
- QApplication app(argc, argv);
+ QGuiApplication app(argc, argv);
const int imageCount = 20;