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:
parent
d2e83f3056
commit
03e3fa5dd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user