aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hotkey/hotkeyfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hotkey/hotkeyfactory.cpp')
-rw-r--r--src/plugins/General/hotkey/hotkeyfactory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/General/hotkey/hotkeyfactory.cpp b/src/plugins/General/hotkey/hotkeyfactory.cpp
index 72c3ed9ab..7092e1d06 100644
--- a/src/plugins/General/hotkey/hotkeyfactory.cpp
+++ b/src/plugins/General/hotkey/hotkeyfactory.cpp
@@ -30,6 +30,7 @@ const GeneralProperties HotkeyFactory::properties() const
GeneralProperties properties;
properties.name = tr("Global Hotkey Plugin");
properties.shortName = "hotkey";
+ properties.translation = QLatin1String(":/hotkey_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = false;
@@ -59,11 +60,3 @@ void HotkeyFactory::showAbout(QWidget *parent)
tr("This plugin adds support for multimedia keys or global key combinations")+"\n"+
tr("Written by: Ilya Kotov <forkotov02@ya.ru>"));
}
-
-QTranslator *HotkeyFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = Qmmp::systemLanguageID();
- translator->load(QString(":/hotkey_plugin_") + locale);
- return translator;
-}