diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-21 11:08:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-21 11:08:48 +0100 |
commit | daa0cc1348c40d7f654621f6a82b01934129a79f (patch) | |
tree | 96b91d2dea2a065c541d995da84a5c9df95f7f8f /tracker-steamvr/steamvr.hpp | |
parent | 9fb8b48027ac8c03628955da2b186de88745e348 (diff) |
tracker/{test,steamvr}: fix duplicate class names
It breaks translation.
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r-- | tracker-steamvr/steamvr.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index 2947f3f1..9b53979e 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -40,11 +40,11 @@ private: static QString strerror(error_t error); }; -class dialog : public ITrackerDialog +class steamvr_dialog : public ITrackerDialog { Q_OBJECT public: - dialog(); + steamvr_dialog(); void register_tracker(ITracker *) override; void unregister_tracker() override; @@ -57,10 +57,10 @@ private slots: void doCancel(); }; -class metadata : public Metadata +class steamvr_metadata : public Metadata { public: - QString name() { return QString(QCoreApplication::translate("metadata", "Valve SteamVR")); } + QString name() { return QString(QCoreApplication::translate("steamvr_metadata", "Valve SteamVR")); } QIcon icon() { return QIcon(":/images/rift_tiny.png"); } }; |