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/Input/sndfile/decodersndfilefactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Input/sndfile') diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 3202a39c7..cce4e9801 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -142,7 +142,7 @@ void DecoderSndFileFactory::showAbout(QWidget *parent) QTranslator *DecoderSndFileFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); - QString locale = QLocale::system().name(); + QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/sndfile_plugin_") + locale); return translator; } -- cgit v1.2.3-13-gbd6f