aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Effect/stereo
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/stereo
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/stereo')
-rw-r--r--src/plugins/Effect/stereo/effectstereofactory.cpp6
-rw-r--r--src/plugins/Effect/stereo/effectstereofactory.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/Effect/stereo/effectstereofactory.cpp b/src/plugins/Effect/stereo/effectstereofactory.cpp
index 105f23139..5e75b080e 100644
--- a/src/plugins/Effect/stereo/effectstereofactory.cpp
+++ b/src/plugins/Effect/stereo/effectstereofactory.cpp
@@ -29,7 +29,6 @@ const EffectProperties EffectStereoFactory::properties() const
EffectProperties properties;
properties.name = tr("Extra Stereo Plugin");
properties.shortName = "stereo";
- properties.translation = QLatin1String(":/stereo_plugin_");
properties.hasSettings = true;
properties.hasAbout = true;
return properties;
@@ -53,3 +52,8 @@ void EffectStereoFactory::showAbout(QWidget *parent)
tr("Written by: Ilya Kotov <forkotov02@ya.ru>")+"\n"+
tr("Based on the Extra Stereo Plugin for Xmms by Johan Levin"));
}
+
+QString EffectStereoFactory::translation() const
+{
+ return QLatin1String(":/stereo_plugin_");
+}
diff --git a/src/plugins/Effect/stereo/effectstereofactory.h b/src/plugins/Effect/stereo/effectstereofactory.h
index 09a60b150..abf141597 100644
--- a/src/plugins/Effect/stereo/effectstereofactory.h
+++ b/src/plugins/Effect/stereo/effectstereofactory.h
@@ -38,6 +38,7 @@ public:
Effect *create();
void showSettings(QWidget *parent);
void showAbout(QWidget *parent);
+ QString translation() const;
};