summaryrefslogtreecommitdiffstats
path: root/src/corelib/concurrent/qfutureinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/concurrent/qfutureinterface.cpp')
-rw-r--r--src/corelib/concurrent/qfutureinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/concurrent/qfutureinterface.cpp b/src/corelib/concurrent/qfutureinterface.cpp
index 627d0c7..c5bd802 100644
--- a/src/corelib/concurrent/qfutureinterface.cpp
+++ b/src/corelib/concurrent/qfutureinterface.cpp
@@ -219,7 +219,7 @@ QString QFutureInterfaceBase::progressText() const
bool QFutureInterfaceBase::isProgressUpdateNeeded() const
{
QMutexLocker locker(&d->m_mutex);
- return (d->progressTime.elapsed() > (1000 / MaxProgressEmitsPerSecond));
+ return !d->progressTime.isValid() || (d->progressTime.elapsed() > (1000 / MaxProgressEmitsPerSecond));
}
void QFutureInterfaceBase::reportStarted()