From f0a1d05ed7dc9e5a35ee41e5d15a82702a1ab3c7 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 29 May 2009 12:09:30 +0000 Subject: fixed language detection git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@953 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/hotkey/hotkeyfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/General/hotkey') 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 - +#include #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; } -- cgit v1.2.3-13-gbd6f