aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkeyfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/hotkeyfactory.cpp')
-rw-r--r--src/plugins/General/hotkey/hotkeyfactory.cpp4
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;
}