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/hotkey/hotkeyfactory.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/hotkey/hotkeyfactory.cpp')
| -rw-r--r-- | src/plugins/General/hotkey/hotkeyfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/hotkey/hotkeyfactory.cpp b/src/plugins/General/hotkey/hotkeyfactory.cpp index afe694fe8..2c469f74f 100644 --- a/src/plugins/General/hotkey/hotkeyfactory.cpp +++ b/src/plugins/General/hotkey/hotkeyfactory.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include <QtGui> - +#include <qmmp/qmmp.h> #include "settingsdialog.h" #include "hotkeymanager.h" #include "hotkeyfactory.h" @@ -56,7 +56,7 @@ void HotkeyFactory::showAbout(QWidget *parent) QTranslator *HotkeyFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); - QString locale = QLocale::system().name(); + QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/hotkey_plugin_") + locale); return translator; } |
