aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/modplug/decodermodplugfactory.cpp
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/Input/modplug/decodermodplugfactory.cpp
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/Input/modplug/decodermodplugfactory.cpp')
-rw-r--r--src/plugins/Input/modplug/decodermodplugfactory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/Input/modplug/decodermodplugfactory.cpp b/src/plugins/Input/modplug/decodermodplugfactory.cpp
index c47dded6b..2142f8179 100644
--- a/src/plugins/Input/modplug/decodermodplugfactory.cpp
+++ b/src/plugins/Input/modplug/decodermodplugfactory.cpp
@@ -40,7 +40,7 @@ bool DecoderModPlugFactory::canDecode(QIODevice *) const
return false;
}
-const DecoderProperties DecoderModPlugFactory::properties() const
+DecoderProperties DecoderModPlugFactory::properties() const
{
DecoderProperties properties;
properties.name = tr("ModPlug Plugin");
@@ -52,7 +52,6 @@ const DecoderProperties DecoderModPlugFactory::properties() const
properties.description = tr("ModPlug Files");
//properties.contentType = ;
properties.shortName = "modplug";
- properties.translation = QLatin1String(":/modplug_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.noInput = true;
@@ -142,3 +141,8 @@ void DecoderModPlugFactory::showAbout(QWidget *parent)
tr("Kenton Varda <temporal@gauge3d.org>")+"\n"+
tr("Konstanty Bialkowski <konstanty@ieee.org>"));
}
+
+QString DecoderModPlugFactory::translation() const
+{
+ return QLatin1String(":/modplug_plugin_");
+}