diff options
Diffstat (limited to 'qmake/project.h')
-rw-r--r-- | qmake/project.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.h b/qmake/project.h index aa9f7dfb3b..5de4e700b6 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -55,7 +55,7 @@ public: ProString expand(const QString &v, const QString &file, int line); QStringList expand(const ProKey &func, const QList<ProStringList> &args); bool test(const QString &v, const QString &file, int line) - { m_current.clear(); return evaluateConditional(v, file, line); } + { m_current.clear(); return evaluateConditional(v, file, line) == ReturnTrue; } bool test(const ProKey &func, const QList<ProStringList> &args); bool isSet(const ProKey &v) const { return m_valuemapStack.first().contains(v); } |