aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter/converterfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/converter/converterfactory.cpp')
-rw-r--r--src/plugins/General/converter/converterfactory.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/plugins/General/converter/converterfactory.cpp b/src/plugins/General/converter/converterfactory.cpp
index cda17108c..0254cda82 100644
--- a/src/plugins/General/converter/converterfactory.cpp
+++ b/src/plugins/General/converter/converterfactory.cpp
@@ -18,7 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-
#include <QMessageBox>
#include "converterhelper.h"
#include "converterfactory.h"
@@ -28,6 +27,7 @@ const GeneralProperties ConverterFactory::properties() const
GeneralProperties properties;
properties.name = tr("Converter Plugin");
properties.shortName = "converter";
+ properties.translation = QLatin1String(":/converter_plugin_");
properties.hasAbout = true;
properties.hasSettings = false;
properties.visibilityControl = false;
@@ -53,11 +53,3 @@ void ConverterFactory::showAbout(QWidget *parent)
"using external command-line encoders") +"\n"+
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
-
-QTranslator *ConverterFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = Qmmp::systemLanguageID();
- translator->load(QString(":/converter_plugin_") + locale);
- return translator;
-}