From 6e04c77be2fb98e3d6487844a77e65f8f9d1628c Mon Sep 17 00:00:00 2001 From: Vasily Date: Wed, 27 Nov 2019 19:24:43 +0100 Subject: [PATCH] Change name of m_pWindow in Linux only section Name was not changed by tooling due to being in a Linux ifdef. --- src/overlaycontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlaycontroller.cpp b/src/overlaycontroller.cpp index 109dcf2..30c7035 100644 --- a/src/overlaycontroller.cpp +++ b/src/overlaycontroller.cpp @@ -590,7 +590,7 @@ QPoint OverlayController::getMousePositionForEvent( vr::VREvent_Mouse_t mouse ) { float y = mouse.y; #ifdef __linux__ - float h = static_cast( m_pWindow->height() ); + float h = static_cast( m_window->height() ); y = h - y; #endif return QPoint( static_cast( mouse.x ), static_cast( y ) );