Commit 1a2baecf authored by David Kaspar's avatar David Kaspar
Browse files

Qnx: Fixing crash when launching BB10 application



m_futureInterface field might be 0 when reportProgress slot is called

Task-number: QTCREATORBUG-10038
Change-Id: I93931e78f3a5077bb347b184f5e61230a1955695
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarDavid Kaspar <dkaspar@blackberry.com>
parent 525a9f6a
......@@ -132,7 +132,8 @@ void BlackBerryAbstractDeployStep::reportProgress(int progress)
{
QTC_ASSERT(progress >= 0 && progress <= 100, return);
m_futureInterface->setProgressValue(100 * m_processCounter + progress);
if (m_futureInterface)
m_futureInterface->setProgressValue(100 * m_processCounter + progress);
}
void BlackBerryAbstractDeployStep::runCommands()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment