summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate/main.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-14 00:31:37 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-14 00:31:37 (GMT)
commit2ec89699a6f372ccbd92ce2bda753ec0e28f8650 (patch)
treee8f5a9c9bb8cb41a7e47e7b75cd3f6ddac702814 /tools/linguist/lupdate/main.cpp
parent351060bd313220044b9323d59d56627e78deea9f (diff)
parent48592026bc9eb024f304411895c3f233b2296cfa (diff)
downloadQt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.zip
Qt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.tar.gz
Qt-2ec89699a6f372ccbd92ce2bda753ec0e28f8650.tar.bz2
Merge branch '4.6' of git://scm.dev.nokia.troll.no/qt/qt into kinetic-declarativeui
Conflicts: bin/syncqt src/corelib/io/qurl.cpp
Diffstat (limited to 'tools/linguist/lupdate/main.cpp')
-rw-r--r--tools/linguist/lupdate/main.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index d76350d..0b21c5f 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -237,18 +237,12 @@ int main(int argc, char **argv)
Verbose | // verbose is on by default starting with Qt 4.2
HeuristicSameText | HeuristicSimilarText | HeuristicNumber;
int numFiles = 0;
- bool standardSyntax = true;
bool metTsFlag = false;
bool recursiveScan = true;
QString extensions = m_defaultExtensions;
QSet<QString> extensionsNameFilters;
- for (int i = 1; i < argc; ++i) {
- if (args.at(i) == QLatin1String("-ts"))
- standardSyntax = false;
- }
-
for (int i = 1; i < argc; ++i) {
QString arg = args.at(i);
if (arg == QLatin1String("-help")
@@ -375,8 +369,6 @@ int main(int argc, char **argv)
numFiles++;
- QString fullText;
-
codecForTr.clear();
codecForSource.clear();