Commit 31e7e7c3 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

don't claim success in some failure cases

this kinda worked because int(ReturnTrue) == int(true), but there
are more possible return values than that.
parent 34a27d1d
......@@ -3230,7 +3230,7 @@ ProFileEvaluator::TemplateType ProFileEvaluator::templateType() const
bool ProFileEvaluator::accept(ProFile *pro, LoadFlags flags)
{
return d->visitProFile(pro, ProFileEvaluatorHandler::EvalProjectFile, flags);
return d->visitProFile(pro, ProFileEvaluatorHandler::EvalProjectFile, flags) == Private::ReturnTrue;
}
QString ProFileEvaluator::propertyValue(const QString &name) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment