aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/executor.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-02-17 17:24:16 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-02-18 10:23:09 +0100
commitbb505ec457932a595ff1f70dac64ec084f79dcb5 (patch)
treef5a9bee6b95ca88265fc087c54c99eae8b519972 /src/lib/corelib/buildgraph/executor.cpp
parente92f68531460e78203ad5419a7e45d96a77339f5 (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.cpp5
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);