summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lrelease
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-06-01 15:53:27 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-06-01 19:34:36 (GMT)
commit531614ae15a2bc43e782c247a2dee5387566397a (patch)
treeb25baf4b0a4ffb2487bb6f2daa25596553ff262c /tools/linguist/lrelease
parentf1249f94c07654f0b76e7a90fb81ed5b58cd30f7 (diff)
downloadQt-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.cpp2
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) {