summaryrefslogtreecommitdiffstats
path: root/tools/linguist/shared/translator.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-06 22:40:23 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-06 22:58:01 +0100
commita66698f947e8ded2e020defa626b154aca1fde9f (patch)
treeb91a1233b0d600ee44bee356b18065b60a4ed8f5 /tools/linguist/shared/translator.h
parent44cc160733a70f5dc613faed2051005de7e48f04 (diff)
handle messages with ids (more) correctly
when comparing two messages which both have ids, compare only the ids. this affects finding/reporting duplicates and merging.
Diffstat (limited to 'tools/linguist/shared/translator.h')
-rw-r--r--tools/linguist/shared/translator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/translator.h b/tools/linguist/shared/translator.h
index b957fa28a4..eec704a218 100644
--- a/tools/linguist/shared/translator.h
+++ b/tools/linguist/shared/translator.h
@@ -134,7 +134,7 @@ public:
void dropUiLines();
void makeFileNamesAbsolute(const QDir &originalPath);
- struct Duplicates { QSet<int> byContents; };
+ struct Duplicates { QSet<int> byId, byContents; };
Duplicates resolveDuplicates();
void reportDuplicates(const Duplicates &dupes, const QString &fileName, bool verbose);