diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-10 10:59:33 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-10 10:59:33 +0000 |
| commit | 27c0f900a31b51659eb1fef4a21b6b1bb4836348 (patch) | |
| tree | 7c2ce8edbda7e27185814128d6d594ed55c817e0 | |
| parent | fa722cca5c6c10a867d84ad8141a3986e1413091 (diff) | |
| download | qmmp-27c0f900a31b51659eb1fef4a21b6b1bb4836348.tar.gz qmmp-27c0f900a31b51659eb1fef4a21b6b1bb4836348.tar.bz2 qmmp-27c0f900a31b51659eb1fef4a21b6b1bb4836348.zip | |
fixed translation support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@578 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/decoder.cpp | 1 | ||||
| -rw-r--r-- | src/qmmp/output.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/qmmp/decoder.cpp b/src/qmmp/decoder.cpp index a4d739cf5..6279ea0ee 100644 --- a/src/qmmp/decoder.cpp +++ b/src/qmmp/decoder.cpp @@ -226,6 +226,7 @@ void Decoder::checkFactories() { m_factories->append(factory); m_files << pluginsDir.absoluteFilePath(fileName); + qApp->installTranslator(factory->createTranslator(qApp)); } } //remove physically deleted plugins from disabled list diff --git a/src/qmmp/output.cpp b/src/qmmp/output.cpp index 85f636daf..fdd02ebde 100644 --- a/src/qmmp/output.cpp +++ b/src/qmmp/output.cpp @@ -114,6 +114,7 @@ void Output::checkFactories() { Output::registerFactory ( factory ); m_files << pluginsDir.absoluteFilePath(fileName); + qApp->installTranslator(factory->createTranslator(qApp)); } } } |
