summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-07-11 16:55:53 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-11 18:58:41 +0200
commita84c87f1adea0981d6dce9cd82761ef21b2fa4d2 (patch)
treece114ee83b59ea57fe311029daf7d51f94f0ffcc /qmake/project.cpp
parent12d9436522c13f5317617670e20991ef647f211a (diff)
make 1st argument of $$resolve_depends a variable
this is braindead, but it's consistent with the rest of qmake and more performant. and the argument error message claimed it already anyway. Change-Id: I973368acc6ffbff17107085ccd68b0334cc3e681 Reviewed-on: http://codereview.qt.nokia.com/1436 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 99aa0d3ae2..f6a45204f8 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -2285,7 +2285,7 @@ QMakeProject::doProjectExpand(QString func, QList<QStringList> args_list,
fprintf(stderr, "%s:%d: resolve_depends(var, prefix) requires one or two arguments.\n",
parser.file.toLatin1().constData(), parser.line_no);
} else {
- ret += resolveDepends(args[0].split(QString(Option::field_sep)),
+ ret += resolveDepends(values(args[0], place),
(args.count() != 2 ? QString() : args[1]),
place);
}