Commit e0e4c4d3 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

properly evaluate one-arg-variant of CONFIG()

parent 46bc5a80
......@@ -2540,10 +2540,8 @@ ProItem::ProItemReturn ProFileEvaluator::Private::evaluateConditionalFunction(
logMessage(format("CONFIG(config) requires one or two arguments."));
return ProItem::ReturnFalse;
if (args.count() == 1) {
//cond = isActiveConfig(args.first()); XXX
return ProItem::ReturnFalse;
if (args.count() == 1)
return returnBool(isActiveConfig(args.first()));
const QStringList mutuals = args[1].split(QLatin1Char('|'));
const QStringList &configs = valuesDirect(statics.strCONFIG);
Supports Markdown
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