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:
Daniel Teske
2014-07-31 16:53:32 +02:00
parent 1c4b960d51
commit bb42157f04

View File

@@ -47,6 +47,8 @@ public:
template<class T> static T *buildStep(const ProjectExplorer::DeployConfiguration *dc)
{
if (!dc)
return 0;
ProjectExplorer::BuildStepList *bsl = dc->stepList();
if (!bsl)
return 0;