summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-06-23 17:52:41 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-24 21:22:51 +0200
commit03e3fa5dd12a5d03a52ab5ebf873b7495c863f5f (patch)
tree7ebec05ef771fd06e65bf43fdf91c07d40cd6df2
parentd2e83f3056f1379016c48ae3b44f45f5363449f5 (diff)
Fix return type of isActiveConfig("host_build")
The return type of isActiveConfig is a boolean, so return that when host_build is queried. Change-Id: I6d1420b49b09e51442c4b2d482e2f19b165081d8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 3a34aef1a9..6e79f7a37d 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1691,7 +1691,7 @@ QMakeProject::isActiveConfig(const QString &x, bool regex, QHash<QString, QStrin
}
if (x == "host_build")
- return host_build ? "true" : "false";
+ return host_build;
//mkspecs
static QString hspec, xspec;