From 677825f0bad9ee8fb48edf3d4b18799d298767c5 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 8 Oct 2013 12:09:46 +0200 Subject: remove non-concurrent branch from concurrent example kinda stupid to have it ... Change-Id: Icb31c524e04f43b0fb966c5500e22dfd574f969f Reviewed-by: Thiago Macieira --- examples/qtconcurrent/map/main.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'examples/qtconcurrent') diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index 199273b9a6..01595f0c2e 100644 --- a/examples/qtconcurrent/map/main.cpp +++ b/examples/qtconcurrent/map/main.cpp @@ -45,8 +45,6 @@ #include #include -#ifndef QT_NO_CONCURRENT - QImage scale(const QImage &image) { qDebug() << "Scaling image in thread" << QThread::currentThread(); @@ -70,23 +68,3 @@ int main(int argc, char *argv[]) return 0; } - -#else - -#include - -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 -- cgit v1.2.3