aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/copypaste/copypastefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/copypaste/copypastefactory.cpp')
-rw-r--r--src/plugins/General/copypaste/copypastefactory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/General/copypaste/copypastefactory.cpp b/src/plugins/General/copypaste/copypastefactory.cpp
index bbd189c55..458d6a764 100644
--- a/src/plugins/General/copypaste/copypastefactory.cpp
+++ b/src/plugins/General/copypaste/copypastefactory.cpp
@@ -28,6 +28,7 @@ const GeneralProperties CopyPasteFactory::properties() const
GeneralProperties properties;
properties.name = tr("Copy/Paste Plugin");
properties.shortName = "copypaste";
+ properties.translation = QLatin1String(":/copypaste_plugin_");
properties.hasAbout = true;
properties.hasSettings = false;
properties.visibilityControl = false;
@@ -51,11 +52,3 @@ void CopyPasteFactory::showAbout(QWidget *parent)
tr("This plugin allows one to copy selected tracks from one playlist to another")+"\n"+
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
-
-QTranslator *CopyPasteFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = Qmmp::systemLanguageID();
- translator->load(QString(":/copypaste_plugin_") + locale);
- return translator;
-}