aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/trackchange/trackchangefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/trackchange/trackchangefactory.cpp')
-rw-r--r--src/plugins/General/trackchange/trackchangefactory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/General/trackchange/trackchangefactory.cpp b/src/plugins/General/trackchange/trackchangefactory.cpp
index 806f3f073..3933983bb 100644
--- a/src/plugins/General/trackchange/trackchangefactory.cpp
+++ b/src/plugins/General/trackchange/trackchangefactory.cpp
@@ -24,12 +24,11 @@
#include "settingsdialog.h"
#include "trackchangefactory.h"
-const GeneralProperties TrackChangeFactory::properties() const
+GeneralProperties TrackChangeFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("Track Change Plugin");
properties.shortName = "trackchange";
- properties.translation = QLatin1String(":/trackchange_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = false;
@@ -53,3 +52,8 @@ void TrackChangeFactory::showAbout(QWidget *parent)
tr("This plugin executes external command when current track is changed") + "\n" +
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
+
+QString TrackChangeFactory::translation() const
+{
+ return QLatin1String(":/trackchange_plugin_");
+}