diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-01-27 17:48:26 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-01-27 17:49:42 (GMT) |
commit | a4538a2532582f4bb1b6e85ed1e125f9c68bb251 (patch) | |
tree | 57cb24a3c23abe9298d73bb4a8fe2bc1466b33da /tools/linguist/shared | |
parent | 22144848655620adf9c5c8fd1abdbbbfef07069e (diff) | |
download | Qt-a4538a2532582f4bb1b6e85ed1e125f9c68bb251.zip Qt-a4538a2532582f4bb1b6e85ed1e125f9c68bb251.tar.gz Qt-a4538a2532582f4bb1b6e85ed1e125f9c68bb251.tar.bz2 |
don't falsely complain about mismatched codecfortr
normalize the user input first
Diffstat (limited to 'tools/linguist/shared')
-rw-r--r-- | tools/linguist/shared/translator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/linguist/shared/translator.h b/tools/linguist/shared/translator.h index 0fcd598..0b88c07 100644 --- a/tools/linguist/shared/translator.h +++ b/tools/linguist/shared/translator.h @@ -153,6 +153,7 @@ public: void reportDuplicates(const Duplicates &dupes, const QString &fileName, bool verbose); void setCodecName(const QByteArray &name); + void setCodec(QTextCodec *codec) { m_codec = codec; } QByteArray codecName() const; QTextCodec *codec() const { return m_codec; } |