From 2111b82728e37a649539076ee4e9fc83103f196b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 21 Jul 2018 17:30:35 +0000 Subject: changed translation api again git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/stereo/effectstereofactory.cpp | 6 +++++- src/plugins/Effect/stereo/effectstereofactory.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/Effect/stereo') 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 ")+"\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; }; -- cgit v1.2.3-13-gbd6f