diff options
author | Victor Ostashevsky <ostash@ostash.kiev.ua> | 2010-09-06 08:57:46 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-09-06 08:57:46 (GMT) |
commit | 59cb434370edeabb9566af38a93f86777f1f9961 (patch) | |
tree | 64f85e3941a5cd3526a760f86e7bc33ae5f952f8 /tools/assistant | |
parent | b163780ff12c3b36cc7e2d5ef1f79001e67ccec6 (diff) | |
download | Qt-59cb434370edeabb9566af38a93f86777f1f9961.zip Qt-59cb434370edeabb9566af38a93f86777f1f9961.tar.gz Qt-59cb434370edeabb9566af38a93f86777f1f9961.tar.bz2 |
Install translators earlier in assistant
Help message and command line parsing errors will be shown translated
Merge-request: 2466
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tools/assistant')
-rw-r--r-- | tools/assistant/tools/assistant/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/assistant/tools/assistant/main.cpp b/tools/assistant/tools/assistant/main.cpp index 02507ae..bb86bfe 100644 --- a/tools/assistant/tools/assistant/main.cpp +++ b/tools/assistant/tools/assistant/main.cpp @@ -316,6 +316,7 @@ int main(int argc, char *argv[]) TRACE_OBJ QApplication a(argc, argv, useGui(argc, argv)); a.addLibraryPath(a.applicationDirPath() + QLatin1String("/plugins")); + setupTranslations(); // Parse arguments. CmdLineParser cmd(a.arguments()); @@ -419,8 +420,6 @@ int main(int argc, char *argv[]) cachedCollection.setCurrentFilter(cmd.currentFilter()); } - setupTranslations(); - /* * We need to be careful here: The main window has to be deleted before * the help engine wrapper, which has to be deleted before the |