aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan/rgscanfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/rgscan/rgscanfactory.cpp')
-rw-r--r--src/plugins/General/rgscan/rgscanfactory.cpp10
1 files changed, 1 insertions, 9 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;
-}