diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-05-18 09:07:36 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-05-18 09:07:53 (GMT) |
commit | 3cc966afd45ac727126ea89bafa7c1aa1295226b (patch) | |
tree | 6f976c5e9c4ae7894862f34f43dbe2b49992d4f0 | |
parent | 968c3e34b97769c0917325ce8b2b3b34b87a4e48 (diff) | |
download | Qt-3cc966afd45ac727126ea89bafa7c1aa1295226b.zip Qt-3cc966afd45ac727126ea89bafa7c1aa1295226b.tar.gz Qt-3cc966afd45ac727126ea89bafa7c1aa1295226b.tar.bz2 |
less inefficient
-rw-r--r-- | qmake/project.cpp | 2 |
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; } |