diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-10-25 21:20:54 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 15:37:30 +0100 |
commit | f6a5e3d1e843a6417d03f8146269aeb97ae8f728 (patch) | |
tree | b1d665b4e92e94e93ccdb367489c6789601409f3 /examples/qtconcurrent/runfunction/main.cpp | |
parent | 8b61ec579693b4420f62e9563c61035659de7ffe (diff) |
remove remaining non-concurrent branches from concurrent samples
amends 677825f0bad9.
Change-Id: I8bc3ade3a1602b9a2c0bdc837f4b19c67b2e0dba
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples/qtconcurrent/runfunction/main.cpp')
-rw-r--r-- | examples/qtconcurrent/runfunction/main.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/examples/qtconcurrent/runfunction/main.cpp b/examples/qtconcurrent/runfunction/main.cpp index 0e62bd0a75..85c5e1267a 100644 --- a/examples/qtconcurrent/runfunction/main.cpp +++ b/examples/qtconcurrent/runfunction/main.cpp @@ -44,8 +44,6 @@ #include <qtconcurrentrun.h> #include <QApplication> -#ifndef QT_NO_CONCURRENT - using namespace QtConcurrent; void hello(QString name) @@ -61,23 +59,3 @@ int main(int argc, char **argv) f1.waitForFinished(); f2.waitForFinished(); } - -#else - -#include <QLabel> - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - QString text("Qt Concurrent is not yet supported on this platform"); - - QLabel *label = new QLabel(text); - label->setWordWrap(true); - - label->show(); - qDebug() << text; - - app.exec(); -} - -#endif |