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-steamvr/steamvr.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tracker-steamvr/steamvr.hpp') diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index 479f517f..fb7cd4c5 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -106,7 +106,8 @@ private slots: class steamvr_metadata : public Metadata { -public: - QString name() override { return otr_tr("Valve SteamVR"); } + Q_OBJECT + + QString name() override { return tr("Valve SteamVR"); } QIcon icon() override { return QIcon(":/images/rift_tiny.png"); } }; -- cgit v1.2.3