diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-28 09:33:54 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-30 14:38:20 (GMT) |
commit | d8d8a4c056b50fe231611c9e90e5c43136ce2114 (patch) | |
tree | cbd402e4a6e6c135723f125b5af414304a3e9e43 /qmake | |
parent | b81760a0fb95bca3ffdcdd39b62df6ca206e8759 (diff) | |
download | Qt-d8d8a4c056b50fe231611c9e90e5c43136ce2114.zip Qt-d8d8a4c056b50fe231611c9e90e5c43136ce2114.tar.gz Qt-d8d8a4c056b50fe231611c9e90e5c43136ce2114.tar.bz2 |
fix $$size() not using function-scoped variables
Reviewed-by: Janne Anttila
Reviewed-by: joerg
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/project.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 3c56272..942d54b 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -2250,8 +2250,7 @@ QMakeProject::doProjectExpand(QString func, QList<QStringList> args_list, fprintf(stderr, "%s:%d: size(var) requires one argument.\n", parser.file.toLatin1().constData(), parser.line_no); } else { - //QString target = args[0]; - int size = values(args[0]).size(); + int size = values(args[0], place).size(); ret += QString::number(size); } break; } |