From 61fd3dde79cb57a7c8db792633220ed1b9e43719 Mon Sep 17 00:00:00 2001 From: Vasily Date: Wed, 27 Nov 2019 19:32:26 +0100 Subject: [PATCH] Change m_window function call from -> to . --- src/overlaycontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlaycontroller.cpp b/src/overlaycontroller.cpp index 30c7035..532034f 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_window->height() ); + float h = static_cast( m_window.height() ); y = h - y; #endif return QPoint( static_cast( mouse.x ), static_cast( y ) );