diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-06-01 15:53:27 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-06-01 19:34:36 (GMT) |
commit | 531614ae15a2bc43e782c247a2dee5387566397a (patch) | |
tree | b25baf4b0a4ffb2487bb6f2daa25596553ff262c /tools/linguist/lrelease | |
parent | f1249f94c07654f0b76e7a90fb81ed5b58cd30f7 (diff) | |
download | Qt-531614ae15a2bc43e782c247a2dee5387566397a.zip Qt-531614ae15a2bc43e782c247a2dee5387566397a.tar.gz Qt-531614ae15a2bc43e782c247a2dee5387566397a.tar.bz2 |
nuke Translator::release(), make saveQM() non-static instead
this "factory" served only to obfuscate the code
Diffstat (limited to 'tools/linguist/lrelease')
-rw-r--r-- | tools/linguist/lrelease/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp index f9e08a0..9adaff5 100644 --- a/tools/linguist/lrelease/main.cpp +++ b/tools/linguist/lrelease/main.cpp @@ -157,7 +157,7 @@ static bool releaseTranslator(Translator &tor, const QString &qmFileName, } tor.normalizeTranslations(cd); - bool ok = tor.release(&file, cd); + bool ok = saveQM(tor, file, cd); file.close(); if (!ok) { |