diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2014-11-27 14:49:16 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-02-02 11:14:43 +0000 |
commit | 4b486cb88c410a006fb528794709ea40dc77ec53 (patch) | |
tree | 1ea3833022199a49c300f2df456e9ee4038c923d /qmake/generators/makefile.cpp | |
parent | 365eb897130708c3f413f87a866c0240c9c6fb34 (diff) | |
download | qtbase-4b486cb88c410a006fb528794709ea40dc77ec53.tar.gz |
values(foo).first() => first(foo)
Change-Id: Ic5bb8ae3166c76299881970f83d20206bec704bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r-- | qmake/generators/makefile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index f86fd62da4..d2b11aaa01 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -710,7 +710,7 @@ MakefileGenerator::init() const ProKey ikey(*it + ".input"); const ProKey vokey(*it + ".variable_out"); const ProStringList &config = project->values(ProKey(*it + ".CONFIG")); - const ProString &tmp_out = project->values(ProKey(*it + ".output")).first(); + const ProString &tmp_out = project->first(ProKey(*it + ".output")); if(tmp_out.isEmpty()) continue; if (config.indexOf("combine") != -1) { @@ -1690,7 +1690,7 @@ MakefileGenerator::verifyExtraCompiler(const ProString &comp, const QString &fil } } } else if (config.indexOf("function_verify") != -1) { - ProString tmp_out = project->values(ProKey(comp + ".output")).first(); + ProString tmp_out = project->first(ProKey(comp + ".output")); if(tmp_out.isEmpty()) return false; ProStringList verify_function = project->values(ProKey(comp + ".verify_function")); @@ -1735,7 +1735,7 @@ MakefileGenerator::verifyExtraCompiler(const ProString &comp, const QString &fil } } } else if (config.indexOf("verify") != -1) { - QString tmp_out = project->values(ProKey(comp + ".output")).first().toQString(); + QString tmp_out = project->first(ProKey(comp + ".output")).toQString(); if(tmp_out.isEmpty()) return false; const QString tmp_cmd = project->values(ProKey(comp + ".commands")).join(' '); |