aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/statusicon/statusiconfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/statusicon/statusiconfactory.cpp')
-rw-r--r--src/plugins/General/statusicon/statusiconfactory.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/plugins/General/statusicon/statusiconfactory.cpp b/src/plugins/General/statusicon/statusiconfactory.cpp
index bdc5acb84..26b0f4641 100644
--- a/src/plugins/General/statusicon/statusiconfactory.cpp
+++ b/src/plugins/General/statusicon/statusiconfactory.cpp
@@ -18,7 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-
#include <QMessageBox>
#include "statusicon.h"
#include "settingsdialog.h"
@@ -32,6 +31,7 @@ const GeneralProperties StatusIconFactory::properties() const
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = true;
+ properties.translation = QLatin1String(":/statusicon_plugin_");
return properties;
}
@@ -53,11 +53,3 @@ void StatusIconFactory::showAbout(QWidget *parent)
tr("Ilya Kotov <forkotov02@ya.ru>")+"\n"+
tr("Artur Guzik <a.guzik88@gmail.com>"));
}
-
-QTranslator *StatusIconFactory::createTranslator(QObject *parent)
-{
- QTranslator *translator = new QTranslator(parent);
- QString locale = Qmmp::systemLanguageID();
- translator->load(QString(":/statusicon_plugin_") + locale);
- return translator;
-}