diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-05-29 12:09:30 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-05-29 12:09:30 +0000 |
| commit | f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7 (patch) | |
| tree | 373a5e20b0758323e0e427633ec4e02f82385af1 /src/plugins/General/hal/halfactory.cpp | |
| parent | bcc8aa02637d4f2adba0be29fed6338b5598f29c (diff) | |
| download | qmmp-f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7.tar.gz qmmp-f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7.tar.bz2 qmmp-f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7.zip | |
fixed language detection
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@953 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/hal/halfactory.cpp')
| -rw-r--r-- | src/plugins/General/hal/halfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/hal/halfactory.cpp b/src/plugins/General/hal/halfactory.cpp index 513f8642a..4c7cfd04b 100644 --- a/src/plugins/General/hal/halfactory.cpp +++ b/src/plugins/General/hal/halfactory.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include <QtGui> - +#include <qmmp/qmmp.h> #include "settingsdialog.h" #include "halplugin.h" #include "halfactory.h" @@ -57,7 +57,7 @@ void HalFactory::showAbout(QWidget *parent) QTranslator *HalFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); - QString locale = QLocale::system().name(); + QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/hal_plugin_") + locale); return translator; } |
