diff options
author | Tobias Hunger <[email protected]> | 2013-02-12 12:56:02 +0100 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2013-02-12 18:31:28 +0100 |
commit | 962ba86d0fdc884231bf3ffa0ccf834fee64dd61 (patch) | |
tree | c260b75440b273a159ff62656e8a2095691bbb70 /src/plugins/autotoolsprojectmanager/configurestep.cpp | |
parent | 6a7cefbd97cddd0258c394623932723c53472b82 (diff) |
AbstractProcessStep: Do not run a qprocess in a thread
This avoids sending signals for new tasks and process output
via the gui thread's event loop. When finding lots of issues in
the output we generate so many events that any attempt to
compress events takes a long time (max. events waiting to be
processed were > 1200000 when doing a clang -Weverything build!),
and thus the UI freezes.
Change-Id: I9668d2537b1a268e788cd0ea5c756ebaab4462a9
Reviewed-by: Daniel Teske <[email protected]>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/configurestep.cpp')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/configurestep.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/configurestep.cpp b/src/plugins/autotoolsprojectmanager/configurestep.cpp index 3fd4d9d483c..687fcc924e6 100644 --- a/src/plugins/autotoolsprojectmanager/configurestep.cpp +++ b/src/plugins/autotoolsprojectmanager/configurestep.cpp @@ -182,6 +182,7 @@ void ConfigureStep::run(QFutureInterface<bool>& interface) if (!m_runConfigure) { emit addOutput(tr("Configuration unchanged, skipping configure step."), BuildStep::MessageOutput); interface.reportResult(true); + emit finished(); return; } |