aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/ladspa
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
commit2111b82728e37a649539076ee4e9fc83103f196b (patch)
tree502932f709108cd76ae393a4904e460c5dd57d0a /src/plugins/Effect/ladspa
parent6ca203336305da1b2f8b45e4dca647153da49e3c (diff)
downloadqmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.gz
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.bz2
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.zip
changed translation api again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect/ladspa')
-rw-r--r--src/plugins/Effect/ladspa/effectladspafactory.cpp6
-rw-r--r--src/plugins/Effect/ladspa/effectladspafactory.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/Effect/ladspa/effectladspafactory.cpp b/src/plugins/Effect/ladspa/effectladspafactory.cpp
index 0ee9a9e42..b0b73fd7d 100644
--- a/src/plugins/Effect/ladspa/effectladspafactory.cpp
+++ b/src/plugins/Effect/ladspa/effectladspafactory.cpp
@@ -29,7 +29,6 @@ const EffectProperties EffectLADSPAFactory::properties() const
EffectProperties properties;
properties.name = tr("LADSPA Plugin");
properties.shortName = "ladspa";
- properties.translation = QLatin1String(":/ladspa_plugin_");
properties.hasSettings = true;
properties.hasAbout = true;
return properties;
@@ -56,3 +55,8 @@ void EffectLADSPAFactory::showAbout(QWidget *parent)
tr("Nick Lamb <njl195@zepler.org.uk>")+"\n"+
tr("Giacomo Lozito <city_hunter@users.sf.net>"));
}
+
+QString EffectLADSPAFactory::translation() const
+{
+ return QLatin1String(":/ladspa_plugin_");
+}
diff --git a/src/plugins/Effect/ladspa/effectladspafactory.h b/src/plugins/Effect/ladspa/effectladspafactory.h
index afa2b5b04..62e8b589c 100644
--- a/src/plugins/Effect/ladspa/effectladspafactory.h
+++ b/src/plugins/Effect/ladspa/effectladspafactory.h
@@ -38,6 +38,7 @@ public:
Effect *create();
void showSettings(QWidget *parent);
void showAbout(QWidget *parent);
+ QString translation() const;
};