summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-06-03 17:04:43 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-20 12:30:35 (GMT)
commit56fe2c35c8dc07ec8cbbcdb4d0371837c5e77321 (patch)
treeb84523d4df66ac76d578a028f133f6421129465e /tools/linguist/shared
parenta6ad14165e34b6c740e9d6a25c4443ed953b899b (diff)
downloadQt-56fe2c35c8dc07ec8cbbcdb4d0371837c5e77321.zip
Qt-56fe2c35c8dc07ec8cbbcdb4d0371837c5e77321.tar.gz
Qt-56fe2c35c8dc07ec8cbbcdb4d0371837c5e77321.tar.bz2
expand arguments to s// operator
cherry-picked e083ad2920d6e5695f309fe5b4b7c7d1b3060d61 from creator
Diffstat (limited to 'tools/linguist/shared')
-rw-r--r--tools/linguist/shared/profileevaluator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/profileevaluator.cpp b/tools/linguist/shared/profileevaluator.cpp
index d250217..50027de 100644
--- a/tools/linguist/shared/profileevaluator.cpp
+++ b/tools/linguist/shared/profileevaluator.cpp
@@ -874,7 +874,7 @@ void ProFileEvaluator::Private::visitProValue(ProValue *value)
{
// DEFINES ~= s/a/b/?[gqi]
- // FIXME: qmake variable-expands val first.
+ doVariableReplace(&val);
if (val.length() < 4 || val[0] != QLatin1Char('s')) {
q->logMessage(format("the ~= operator can handle only the s/// function."));
break;