Qmake: Quieten soft-assert

Change-Id: If8c62a7aa17ac46d8e09cf990a57fa9eb1526598
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2018-02-19 11:40:14 +01:00
parent 997ece4361
commit e9ff7ab90b

View File

@@ -41,7 +41,8 @@ namespace QmakeProjectManager {
static QList<RunConfiguration *> qmakeRunConfigurationsForNode(Target *t, const Node *node)
{
QList<RunConfiguration *> result;
QTC_ASSERT(t, return result);
if (!t)
return result; // Project was not set up yet.
const FileName file = node->filePath();
for (auto factory : IRunConfigurationFactory::allRunConfigurationFactories()) {