diff options
Diffstat (limited to 'src/plugins/General/rgscan')
| -rw-r--r-- | src/plugins/General/rgscan/rgscanfactory.cpp | 10 | ||||
| -rw-r--r-- | src/plugins/General/rgscan/rgscanfactory.h | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/plugins/General/rgscan/rgscanfactory.cpp b/src/plugins/General/rgscan/rgscanfactory.cpp index 1bc3545fe..fe89a62c1 100644 --- a/src/plugins/General/rgscan/rgscanfactory.cpp +++ b/src/plugins/General/rgscan/rgscanfactory.cpp @@ -18,7 +18,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ - #include <QMessageBox> #include "rgscanhelper.h" #include "rgscanfactory.h" @@ -28,6 +27,7 @@ const GeneralProperties RGScanFactory::properties() const GeneralProperties properties; properties.name = tr("ReplayGain Scanner Plugin"); properties.shortName = "rgscan"; + properties.translation = QLatin1String(":/rgscan_plugin_"); properties.hasAbout = true; properties.hasSettings = false; properties.visibilityControl = false; @@ -57,11 +57,3 @@ void RGScanFactory::showAbout(QWidget *parent) tr("Frank Klemm")); } - -QTranslator *RGScanFactory::createTranslator(QObject *parent) -{ - QTranslator *translator = new QTranslator(parent); - QString locale = Qmmp::systemLanguageID(); - translator->load(QString(":/rgscan_plugin_") + locale); - return translator; -} diff --git a/src/plugins/General/rgscan/rgscanfactory.h b/src/plugins/General/rgscan/rgscanfactory.h index ecd75a49a..63c900b7d 100644 --- a/src/plugins/General/rgscan/rgscanfactory.h +++ b/src/plugins/General/rgscan/rgscanfactory.h @@ -21,7 +21,6 @@ #define RGSCANFACTORY_H #include <QObject> -#include <QTranslator> #include <QDialog> #include <qmmpui/general.h> #include <qmmpui/generalfactory.h> @@ -39,7 +38,6 @@ public: QObject *create(QObject *parent); QDialog *createConfigDialog(QWidget *parent); void showAbout(QWidget *parent); - QTranslator *createTranslator(QObject *parent); }; #endif |
