Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
e0e4c4d3
Commit
e0e4c4d3
authored
Feb 10, 2010
by
Oswald Buddenhagen
Browse files
properly evaluate one-arg-variant of CONFIG()
parent
46bc5a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/proparser/profileevaluator.cpp
View file @
e0e4c4d3
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment