summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-05-18 09:07:36 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-05-18 09:07:53 (GMT)
commit3cc966afd45ac727126ea89bafa7c1aa1295226b (patch)
tree6f976c5e9c4ae7894862f34f43dbe2b49992d4f0 /qmake/project.cpp
parent968c3e34b97769c0917325ce8b2b3b34b87a4e48 (diff)
downloadQt-3cc966afd45ac727126ea89bafa7c1aa1295226b.zip
Qt-3cc966afd45ac727126ea89bafa7c1aa1295226b.tar.gz
Qt-3cc966afd45ac727126ea89bafa7c1aa1295226b.tar.bz2
less inefficient
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 00bb2f0..8ae0fe2 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -2412,7 +2412,7 @@ QMakeProject::doProjectTest(QString func, QList<QStringList> args_list, QMap<QSt
if(ok) { // do integer compare
int lhs_int = lhs.toInt(&ok);
if(ok) {
- if(func == "greaterThan")
+ if(func_t == T_GREATERTHAN)
return lhs_int > rhs_int;
return lhs_int < rhs_int;
}