diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-07-21 17:30:35 +0000 |
| commit | 2111b82728e37a649539076ee4e9fc83103f196b (patch) | |
| tree | 502932f709108cd76ae393a4904e460c5dd57d0a /src/plugins/Input/mpc/decodermpcfactory.cpp | |
| parent | 6ca203336305da1b2f8b45e4dca647153da49e3c (diff) | |
| download | qmmp-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/mpc/decodermpcfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mpc/decodermpcfactory.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/Input/mpc/decodermpcfactory.cpp b/src/plugins/Input/mpc/decodermpcfactory.cpp index 77614b0ac..d0664d249 100644 --- a/src/plugins/Input/mpc/decodermpcfactory.cpp +++ b/src/plugins/Input/mpc/decodermpcfactory.cpp @@ -46,7 +46,7 @@ bool DecoderMPCFactory::canDecode(QIODevice *input) const return false; } -const DecoderProperties DecoderMPCFactory::properties() const +DecoderProperties DecoderMPCFactory::properties() const { DecoderProperties properties; properties.name = tr("Musepack Plugin"); @@ -54,7 +54,6 @@ const DecoderProperties DecoderMPCFactory::properties() const properties.description = tr("Musepack Files"); //properties.contentType = ; properties.shortName = "mpc"; - properties.translation = QLatin1String(":/mpc_plugin_"); properties.hasAbout = true; properties.hasSettings = false; return properties; @@ -119,3 +118,8 @@ void DecoderMPCFactory::showAbout(QWidget *parent) tr("Qmmp Musepack Audio Plugin")+"\n"+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>")); } + +QString DecoderMPCFactory::translation() const +{ + return QLatin1String(":/mpc_plugin_"); +} |
