aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/soxr
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Effect/soxr')
-rw-r--r--src/plugins/Effect/soxr/effectsoxrfactory.cpp8
-rw-r--r--src/plugins/Effect/soxr/effectsoxrfactory.h1
2 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/Effect/soxr/effectsoxrfactory.cpp b/src/plugins/Effect/soxr/effectsoxrfactory.cpp
index afdaf044c..832a25adc 100644
--- a/src/plugins/Effect/soxr/effectsoxrfactory.cpp
+++ b/src/plugins/Effect/soxr/effectsoxrfactory.cpp
@@ -29,7 +29,6 @@ const EffectProperties EffectSoXRFactory::properties() const
EffectProperties properties;
properties.name = tr("SoX Resampler Plugin");
properties.shortName = "soxr";
- properties.translation = QLatin1String(":/soxr_plugin_");
properties.hasSettings = true;
properties.hasAbout = true;
properties.priority = EffectProperties::EFFECT_PRIORITY_HIGH;
@@ -51,5 +50,10 @@ void EffectSoXRFactory::showAbout(QWidget *parent)
{
QMessageBox::about (parent, tr("About SoX Resampler Plugin"),
tr("Qmmp SoX Resampler Plugin")+"\n"+
- tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
+}
+
+QString EffectSoXRFactory::translation() const
+{
+ return QLatin1String(":/soxr_plugin_");
}
diff --git a/src/plugins/Effect/soxr/effectsoxrfactory.h b/src/plugins/Effect/soxr/effectsoxrfactory.h
index f4d670d50..5300336d6 100644
--- a/src/plugins/Effect/soxr/effectsoxrfactory.h
+++ b/src/plugins/Effect/soxr/effectsoxrfactory.h
@@ -38,6 +38,7 @@ public:
Effect *create();
void showSettings(QWidget *parent);
void showAbout(QWidget *parent);
+ QString translation() const;
};