forked from qt-creator/qt-creator
Qmake: Work around crash
The condition that's checked now triggered when playing around with changing the JS expression that creating the default build directory name. Change-Id: I221be8cefb6918c10c383c23ee7cde73d3683e40 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -112,6 +112,7 @@ bool QmakeBuildSystem::supportsAction(Node *context, ProjectAction action, const
|
|||||||
}
|
}
|
||||||
QTC_ASSERT(proFileNode, return false);
|
QTC_ASSERT(proFileNode, return false);
|
||||||
pro = proFileNode->proFile();
|
pro = proFileNode->proFile();
|
||||||
|
QTC_ASSERT(pro, return false);
|
||||||
t = pro->projectType();
|
t = pro->projectType();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user