diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-02-17 17:24:16 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-02-18 10:23:09 +0100 |
commit | bb505ec457932a595ff1f70dac64ec084f79dcb5 (patch) | |
tree | f5a9bee6b95ca88265fc087c54c99eae8b519972 /src/lib/corelib/buildgraph/executor.cpp | |
parent | e92f68531460e78203ad5419a7e45d96a77339f5 (diff) |
Do not call processEvents() in executor.
We must absolutely never do that, as it can mess with the state management,
leading to disastrous results.
In effect, this reverts commit ea269191f4.
Change-Id: Ib5ec6e00264312aaabd066ed9adedb65f315fdef
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/executor.cpp')
-rw-r--r-- | src/lib/corelib/buildgraph/executor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp index 304e038d6..583fd2396 100644 --- a/src/lib/corelib/buildgraph/executor.cpp +++ b/src/lib/corelib/buildgraph/executor.cpp @@ -88,11 +88,6 @@ Executor::~Executor() FileTime Executor::recursiveFileTime(const QString &filePath) const { FileTime newest; - if (m_progressObserver) { - qApp->processEvents(); // let the cancel event do its work - if (m_progressObserver->canceled()) - return newest; - } FileInfo fileInfo(filePath); if (!fileInfo.exists()) { const QString nativeFilePath = QDir::toNativeSeparators(filePath); |