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>
This commit is contained in:
Simon Hausmann 2012-06-23 17:52:41 +02:00 committed by Qt by Nokia
parent d2e83f3056
commit 03e3fa5dd1

View File

@ -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;