summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-19 21:09:28 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-19 21:09:28 (GMT)
commitae653c8ff92c23c3f9ebbdb753a1e0edea95be7e (patch)
treea9d3256598d0011aa3dd70c809b373c59e6cbe7c /tools/linguist/lupdate/main.cpp
parent70f482d84022da55b8cc7580d9993a339165219b (diff)
downloadQt-ae653c8ff92c23c3f9ebbdb753a1e0edea95be7e.zip
Qt-ae653c8ff92c23c3f9ebbdb753a1e0edea95be7e.tar.gz
Qt-ae653c8ff92c23c3f9ebbdb753a1e0edea95be7e.tar.bz2
don't overwrite explicitly specified CODECFORTR on UTF-16 input
Diffstat (limited to 'tools/linguist/lupdate/main.cpp')
-rw-r--r--tools/linguist/lupdate/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index bdaec4f..7defee0 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -494,6 +494,7 @@ int main(int argc, char **argv)
if (!tmp.isEmpty() && !tmp.first().isEmpty()) {
codecForTr = tmp.first().toLatin1();
fetchedTor.setCodecName(codecForTr);
+ cd.m_outputCodec = codecForTr;
}
tmp = variables.value("CODECFORSRC");
if (!tmp.isEmpty() && !tmp.first().isEmpty()) {