CMake: Fix crash when building a cmake project

Reported by Loaden via mail.

Change-Id: I21a9f2ee5787d9271d20f9ed65786d8c7be08d3c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-02-15 16:18:49 +01:00
parent ccbadb2d37
commit cd1a3350a2
4 changed files with 11 additions and 13 deletions

View File

@@ -344,6 +344,11 @@ void AbstractProcessStep::stdError(const QString &line)
emit addOutput(line, BuildStep::ErrorOutput, BuildStep::DontAppendNewline);
}
QFutureInterface<bool> *AbstractProcessStep::futureInterface() const
{
return m_futureInterface;
}
void AbstractProcessStep::checkForCancel()
{
if (m_futureInterface->isCanceled() && m_timer->isActive()) {