From 2111b82728e37a649539076ee4e9fc83103f196b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 21 Jul 2018 17:30:35 +0000 Subject: changed translation api again git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/kdenotify/kdenotifyfactory.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/kdenotify/kdenotifyfactory.cpp') diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.cpp b/src/plugins/General/kdenotify/kdenotifyfactory.cpp index 1597f3eb6..9d55ec451 100644 --- a/src/plugins/General/kdenotify/kdenotifyfactory.cpp +++ b/src/plugins/General/kdenotify/kdenotifyfactory.cpp @@ -23,12 +23,11 @@ #include "kdenotify.h" #include "settingsdialog.h" -const GeneralProperties KdeNotifyFactory::properties() 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; @@ -49,5 +48,10 @@ void KdeNotifyFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About KDE Notification Plugin"), tr("KDE notification plugin for Qmmp") + "
" - "Artur Guzik "); + "Artur Guzik "); +} + +QString KdeNotifyFactory::translation() const +{ + return QLatin1String(":/kdenotify_plugin_"); } -- cgit v1.2.3-13-gbd6f