Prefix openVrInit with m_, like other member objects
This commit is contained in:
@@ -32,7 +32,7 @@ OverlayController::OverlayController( bool desktopMode,
|
|||||||
bool noSound,
|
bool noSound,
|
||||||
QQmlEngine& qmlEngine )
|
QQmlEngine& qmlEngine )
|
||||||
: QObject(), m_desktopMode( desktopMode ), m_noSound( noSound ),
|
: QObject(), m_desktopMode( desktopMode ), m_noSound( noSound ),
|
||||||
openVrInit()
|
m_openVrInit()
|
||||||
{
|
{
|
||||||
// Despite arguably being OpenVR init code, the call is still here because
|
// Despite arguably being OpenVR init code, the call is still here because
|
||||||
// the TabController uses this directly. Offering it through OpenVR_Init
|
// the TabController uses this directly. Offering it through OpenVR_Init
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ private:
|
|||||||
// OpenVR_Init must be declared before any other class that uses OpenVR
|
// OpenVR_Init must be declared before any other class that uses OpenVR
|
||||||
// function calls since objects are initialized in order of declaration in
|
// function calls since objects are initialized in order of declaration in
|
||||||
// the class.
|
// the class.
|
||||||
OpenVR_Init openVrInit;
|
OpenVR_Init m_openVrInit;
|
||||||
|
|
||||||
public: // I know it's an ugly hack to make them public to enable external
|
public: // I know it's an ugly hack to make them public to enable external
|
||||||
// access, but I am too lazy to implement getters.
|
// access, but I am too lazy to implement getters.
|
||||||
|
|||||||
Reference in New Issue
Block a user