forked from qt-creator/qt-creator
Android: Prevent crash if running on a terget without deployconfiguration
Should be impossible to do, but the stacktrace in the linked task shows that it is possible somehow. Task-number: QTCREATORBUG-12776 Change-Id: I1f2054bbaa132c29dfc4579fb7020f364bddd939 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -47,6 +47,8 @@ public:
|
|||||||
|
|
||||||
template<class T> static T *buildStep(const ProjectExplorer::DeployConfiguration *dc)
|
template<class T> static T *buildStep(const ProjectExplorer::DeployConfiguration *dc)
|
||||||
{
|
{
|
||||||
|
if (!dc)
|
||||||
|
return 0;
|
||||||
ProjectExplorer::BuildStepList *bsl = dc->stepList();
|
ProjectExplorer::BuildStepList *bsl = dc->stepList();
|
||||||
if (!bsl)
|
if (!bsl)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user