aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/trackchange/trackchangefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/trackchange/trackchangefactory.cpp')
-rw-r--r--src/plugins/General/trackchange/trackchangefactory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/General/trackchange/trackchangefactory.cpp b/src/plugins/General/trackchange/trackchangefactory.cpp
index dcbf6000b..806f3f073 100644
--- a/src/plugins/General/trackchange/trackchangefactory.cpp
+++ b/src/plugins/General/trackchange/trackchangefactory.cpp
@@ -29,6 +29,7 @@ const GeneralProperties TrackChangeFactory::properties() const
GeneralProperties properties;
properties.name = tr("Track Change Plugin");
properties.shortName = "trackchange";
+ properties.translation = QLatin1String(":/trackchange_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = false;
@@ -52,11 +53,3 @@ void TrackChangeFactory::showAbout(QWidget *parent)
tr("This plugin executes external command when current track is changed") + "\n" +
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
-
-QTranslator *TrackChangeFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = Qmmp::systemLanguageID();
- translator->load(QString(":/trackchange_plugin_") + locale);
- return translator;
-}