diff --git a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp index f0f200fe1a..f6e6055d84 100644 --- a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp +++ b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp @@ -27,10 +27,8 @@ using namespace oglplus; const QString OculusLegacyDisplayPlugin::NAME("Oculus Rift (0.5) (Simulated)"); +const QString OculusLegacyDisplayPlugin::GROUPING("Standard"); -const QString & OculusLegacyDisplayPlugin::getName() const { - return NAME; -} OculusLegacyDisplayPlugin::OculusLegacyDisplayPlugin() { } diff --git a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h index cd1177b581..603bdac507 100644 --- a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h +++ b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h @@ -19,7 +19,8 @@ class OculusLegacyDisplayPlugin : public WindowOpenGLDisplayPlugin { public: OculusLegacyDisplayPlugin(); virtual bool isSupported() const override; - virtual const QString & getName() const override; + virtual const QString& getName() const override { return NAME; } + virtual const QString& getGrouping() const override { return GROUPING; } virtual void activate() override; virtual void deactivate() override; @@ -46,6 +47,7 @@ protected: private: static const QString NAME; + static const QString GROUPING; ovrHmd _hmd; mutable ovrTrackingState _trackingState;