diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-06-26 13:51:05 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-06-26 13:51:05 +0000 |
| commit | 051dbde759f82a7e9498ec6d7b04969c1411e9a7 (patch) | |
| tree | 45683a7714191c1785c7d8b2a6229ef30dd8e650 /src/plugins/General/scrobbler/scrobblerfactory.cpp | |
| parent | 2a332a2fdefbac806f54b7842e77fccbd53ad19b (diff) | |
| download | qmmp-051dbde759f82a7e9498ec6d7b04969c1411e9a7.tar.gz qmmp-051dbde759f82a7e9498ec6d7b04969c1411e9a7.tar.bz2 qmmp-051dbde759f82a7e9498ec6d7b04969c1411e9a7.zip | |
ported jack plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@980 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobblerfactory.cpp')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobblerfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/scrobbler/scrobblerfactory.cpp b/src/plugins/General/scrobbler/scrobblerfactory.cpp index 560552bd7..fc613bb0b 100644 --- a/src/plugins/General/scrobbler/scrobblerfactory.cpp +++ b/src/plugins/General/scrobbler/scrobblerfactory.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include <QtGui> - +#include <qmmp/qmmp.h> #include "scrobblerhandler.h" #include "settingsdialog.h" #include "scrobblerfactory.h" @@ -55,7 +55,7 @@ void ScrobblerFactory::showAbout(QWidget *parent) QTranslator *ScrobblerFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); - QString locale = QLocale::system().name(); + QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/scrobbler_plugin_") + locale); return translator; } |
