summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-25 18:28:51 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-27 15:12:31 (GMT)
commitd97a3e97f54d1e1d028fd7bc2b46171c6b0be966 (patch)
tree6577579eea824b1e8323bbf30ecd9ca0be2d9bd7 /tools/linguist
parentd74f8fd8d7d378bbf23872ddc24ddfbfd948e295 (diff)
downloadQt-d97a3e97f54d1e1d028fd7bc2b46171c6b0be966.zip
Qt-d97a3e97f54d1e1d028fd7bc2b46171c6b0be966.tar.gz
Qt-d97a3e97f54d1e1d028fd7bc2b46171c6b0be966.tar.bz2
do not sort the TS files
really no point in doing so ...
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/lupdate/main.cpp1
-rw-r--r--tools/linguist/shared/proreader.cpp3
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index 2129265..0db2b25 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -525,7 +525,6 @@ int main(int argc, char **argv)
if (!cd.error().isEmpty())
printOut(cd.error());
- tsFiles.sort();
tsFiles.removeDuplicates();
if (!tsFiles.isEmpty())
diff --git a/tools/linguist/shared/proreader.cpp b/tools/linguist/shared/proreader.cpp
index 4a621a8..f249f24 100644
--- a/tools/linguist/shared/proreader.cpp
+++ b/tools/linguist/shared/proreader.cpp
@@ -95,9 +95,8 @@ void evaluateProFile(const ProFileEvaluator &visitor, QHash<QByteArray, QStringL
if (!srccodec.isEmpty())
codecForSource = srccodec.last();
- sourceFiles.sort();
sourceFiles.removeDuplicates();
- tsFileNames.sort();
+ sourceFiles.sort();
tsFileNames.removeDuplicates();
varMap->insert("SOURCES", sourceFiles);