forked from qt-creator/qt-creator
QtApplicationManager: Fix crash when a target doesn't have a buildsystem
Fixes: QTCREATORBUG-31862 Change-Id: I4faf1ae64bf39108a66511a7bd217a108c6d7aa1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -104,7 +104,7 @@ TargetInformation::TargetInformation(const Target *target)
|
||||
{
|
||||
if (!target)
|
||||
return;
|
||||
if (target->buildSystem()->isParsing())
|
||||
if (target->buildSystem() && target->buildSystem()->isParsing())
|
||||
return;
|
||||
auto project = target->project();
|
||||
if (!project)
|
||||
|
Reference in New Issue
Block a user