summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-05-12 13:02:32 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-10 18:49:12 (GMT)
commitb7cfdc075ce53a5aaf243161c849ee1ee079885c (patch)
tree03b50ee4b7a423a56cc8391453c96e81e723e781
parent357d4598512b4b42fc515b4fc0d2d419db604544 (diff)
downloadQt-b7cfdc075ce53a5aaf243161c849ee1ee079885c.zip
Qt-b7cfdc075ce53a5aaf243161c849ee1ee079885c.tar.gz
Qt-b7cfdc075ce53a5aaf243161c849ee1ee079885c.tar.bz2
remove totally pointless conditional
cherry-picked 167a09b20614d282ec898f69fc2a3f0bafa11229 from creator
-rw-r--r--tools/linguist/shared/profileevaluator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/profileevaluator.cpp b/tools/linguist/shared/profileevaluator.cpp
index c68ac46..c56f1d4 100644
--- a/tools/linguist/shared/profileevaluator.cpp
+++ b/tools/linguist/shared/profileevaluator.cpp
@@ -1501,7 +1501,7 @@ bool ProFileEvaluator::Private::evaluateFile(const QString &fileName, bool *resu
ProFile *pro = q->parsedProFile(fileName);
if (pro) {
m_profileStack.push(pro);
- ok = (currentProFile() ? pro->Accept(this) : false);
+ ok = pro->Accept(this);
m_profileStack.pop();
q->releaseParsedProFile(pro);