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/hal/halfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/General/hal/halfactory.cpp') 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 - +#include #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; } -- cgit v1.2.3-13-gbd6f