From c0165f8b48852a1aca782d606ba4f1ea48eee6ba Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 5 Apr 2018 03:23:38 +0200 Subject: modules: now use i18n --- tracker-test/test.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tracker-test/test.h') diff --git a/tracker-test/test.h b/tracker-test/test.h index c7f19698..3d5e92bd 100644 --- a/tracker-test/test.h +++ b/tracker-test/test.h @@ -36,8 +36,9 @@ private slots: class test_metadata : public Metadata { -public: - QString name() { return _("Testing - sine wave"); } + Q_OBJECT + + QString name() { return tr("Testing - sine wave"); } QIcon icon() { return QIcon(":/images/opentrack.png"); } }; -- cgit v1.2.3