ProjectExplorer: Use a data member for BuildStep::runInGuiThread

Change-Id: Ia219fcf595c05c6f1b82f420454bd906c6870ee7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-10-22 19:11:59 +02:00
parent 94e3412365
commit bc5e640a46
18 changed files with 18 additions and 31 deletions

View File

@@ -96,6 +96,7 @@ AbstractProcessStep::AbstractProcessStep(BuildStepList *bsl, Core::Id id) :
{
m_timer.setInterval(500);
connect(&m_timer, &QTimer::timeout, this, &AbstractProcessStep::checkForCancel);
setRunInGuiThread(true);
}
/*!