summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/steamvr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:52 +0200
commitc0165f8b48852a1aca782d606ba4f1ea48eee6ba (patch)
tree433441689808ca741889b078407bc49fade746de /tracker-steamvr/steamvr.hpp
parenteb32a2ac02c6d1adcfeb0a1a5522f8aaea442489 (diff)
modules: now use i18n
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r--tracker-steamvr/steamvr.hpp5
1 files changed, 3 insertions, 2 deletions
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"); }
};