diff options
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotifyfactory.cpp')
| -rw-r--r-- | src/plugins/General/kdenotify/kdenotifyfactory.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.cpp b/src/plugins/General/kdenotify/kdenotifyfactory.cpp index c36ec0675..1597f3eb6 100644 --- a/src/plugins/General/kdenotify/kdenotifyfactory.cpp +++ b/src/plugins/General/kdenotify/kdenotifyfactory.cpp @@ -28,6 +28,7 @@ const GeneralProperties KdeNotifyFactory::properties() const GeneralProperties properties; properties.name = tr("KDE notification plugin"); properties.shortName = "kdenotify_icon"; + properties.translation = QLatin1String(":/kdenotify_plugin_"); properties.hasAbout = true; properties.hasSettings = true; properties.visibilityControl = false; @@ -50,11 +51,3 @@ void KdeNotifyFactory::showAbout(QWidget *parent) tr("KDE notification plugin for Qmmp") + "<br>" "Artur Guzik <a.guzik88@gmail.com>"); } - -QTranslator *KdeNotifyFactory::createTranslator(QObject *parent) -{ - QTranslator *translator = new QTranslator(parent); - QString locale = Qmmp::systemLanguageID(); - translator->load(QString(":/kdenotify_plugin_") + locale); - return translator; -} |
