diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-07 11:08:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-07 11:08:12 +0200 |
commit | 4b4f6dd1aa0954adc6907c4e1967f51e278e6e09 (patch) | |
tree | 9a6be1a234d1b75ee40d16e45ca16fe2fa4a9475 /tracker-steamvr/steamvr.hpp | |
parent | 8acb0145f192632db6942e20504d99836f12fc6b (diff) |
tracker/steamvr: make static
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r-- | tracker-steamvr/steamvr.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index 1f881607..e979b9e3 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -81,7 +81,7 @@ public: bool center() override; private: - void matrix_to_euler(double &yaw, double &pitch, double &roll, const vr::HmdMatrix34_t& result); + static void matrix_to_euler(double &yaw, double &pitch, double &roll, const vr::HmdMatrix34_t& result); settings s; int device_index; @@ -108,7 +108,6 @@ private slots: class steamvr_metadata : public Metadata { public: - QString name() { return QString(QCoreApplication::translate("steamvr_metadata", "Valve SteamVR")); } - QIcon icon() { return QIcon(":/images/rift_tiny.png"); } + QString name() override { return QString(QCoreApplication::translate("steamvr_metadata", "Valve SteamVR")); } + QIcon icon() override { return QIcon(":/images/rift_tiny.png"); } }; - |