forked from qt-creator/qt-creator
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: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: David Kaspar <dkaspar@blackberry.com>
This commit is contained in:
@@ -132,7 +132,8 @@ void BlackBerryAbstractDeployStep::reportProgress(int progress)
|
|||||||
{
|
{
|
||||||
QTC_ASSERT(progress >= 0 && progress <= 100, return);
|
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()
|
void BlackBerryAbstractDeployStep::runCommands()
|
||||||
|
|||||||
Reference in New Issue
Block a user