summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/concurrent/qtconcurrentrunbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/concurrent/qtconcurrentrunbase.h b/src/corelib/concurrent/qtconcurrentrunbase.h
index 22ea0da55d..c1270e953b 100644
--- a/src/corelib/concurrent/qtconcurrentrunbase.h
+++ b/src/corelib/concurrent/qtconcurrentrunbase.h
@@ -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() {}