aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp')
-rw-r--r--src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp
index 5e9ba1c7b..e22d2d9e9 100644
--- a/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp
+++ b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.cpp
@@ -23,12 +23,11 @@
#include "mediakeys.h"
#include "gnomehotkeyfactory.h"
-const GeneralProperties GnomeHotkeyFactory::properties() const
+GeneralProperties GnomeHotkeyFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("Gnome Hotkey Plugin");
properties.shortName = "gnomehotkey";
- properties.translation = QLatin1String(":/gnomehotkey_plugin_");
properties.hasAbout = true;
properties.hasSettings = false;
properties.visibilityControl = false;
@@ -53,3 +52,8 @@ void GnomeHotkeyFactory::showAbout(QWidget *parent)
tr("This plugin adds support of the GNOME/Cinnamon hotkeys") + "\n" +
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
+
+QString GnomeHotkeyFactory::translation() const
+{
+ return QLatin1String(":/gnomehotkey_plugin_");
+}