diff options
Diffstat (limited to 'src/plugins/General/mpris/mprisfactory.cpp')
| -rw-r--r-- | src/plugins/General/mpris/mprisfactory.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/General/mpris/mprisfactory.cpp b/src/plugins/General/mpris/mprisfactory.cpp index 645d42480..a43139505 100644 --- a/src/plugins/General/mpris/mprisfactory.cpp +++ b/src/plugins/General/mpris/mprisfactory.cpp @@ -24,12 +24,11 @@ #include "mpris.h" #include "mprisfactory.h" -const GeneralProperties MPRISFactory::properties() const +GeneralProperties MPRISFactory::properties() const { GeneralProperties properties; properties.name = tr("MPRIS Plugin"); properties.shortName = "mpris"; - properties.translation = QLatin1String(":/mpris_plugin_"); properties.hasAbout = true; properties.hasSettings = false; properties.visibilityControl = false; @@ -52,3 +51,8 @@ void MPRISFactory::showAbout(QWidget *parent) tr("Qmmp MPRIS Plugin")+"\n"+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>")); } + +QString MPRISFactory::translation() const +{ + return QLatin1String(":/mpris_plugin_"); +} |
