Fix usage of QtConcurrent headers with -Wshadow -Werror

Change-Id: I172888518a3db01f89e61061eccf85f7f3387d07
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
This commit is contained in:
David Faure 2011-11-03 23:22:43 +01:00 committed by Qt by Nokia
parent 5a67cd2495
commit 480c1db1ba

View File

@ -81,9 +81,9 @@ public:
{
this->setRunnable(this);
this->reportStarted();
QFuture<T> future = this->future();
QFuture<T> theFuture = this->future();
QThreadPool::globalInstance()->start(this, /*m_priority*/ 0);
return future;
return theFuture;
}
void run() {}