From 4904ccaa35922e95c7a703a34356ef22b2566c8f Mon Sep 17 00:00:00 2001 From: Vasily Date: Thu, 27 Dec 2018 01:17:02 +0100 Subject: [PATCH] Move variables to .cpp file to prevent unused var warning message --- src/tabcontrollers/SteamVRTabController.cpp | 7 +++++++ src/tabcontrollers/SteamVRTabController.h | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/tabcontrollers/SteamVRTabController.cpp b/src/tabcontrollers/SteamVRTabController.cpp index e56603e..4643220 100644 --- a/src/tabcontrollers/SteamVRTabController.cpp +++ b/src/tabcontrollers/SteamVRTabController.cpp @@ -10,6 +10,13 @@ namespace vr { // application namespace namespace advsettings { +// openvr's github repo hasn't been updated yet to reflect changes in beta 1477423729. +//static const char* vrsettings_steamvr_allowAsyncReprojection = "allowAsyncReprojection"; +//static const char* vrsettings_steamvr_allowInterleavedReprojection = "allowInterleavedReprojection"; + +static const char* vrsettings_steamvr_supersampleScale = "supersampleScale"; +static const char* vrsettings_steamvr_allowSupersampleFiltering = "allowSupersampleFiltering"; +static const char* vrsettings_compositor_category = "compositor"; void SteamVRTabController::initStage1() { eventLoopTick(); diff --git a/src/tabcontrollers/SteamVRTabController.h b/src/tabcontrollers/SteamVRTabController.h index 79d5ba0..e644cb9 100644 --- a/src/tabcontrollers/SteamVRTabController.h +++ b/src/tabcontrollers/SteamVRTabController.h @@ -3,12 +3,6 @@ #include -// openvr's github repo hasn't been updated yet to reflect changes in beta 1477423729. -//static const char* vrsettings_steamvr_allowAsyncReprojection = "allowAsyncReprojection"; -//static const char* vrsettings_steamvr_allowInterleavedReprojection = "allowInterleavedReprojection"; -static const char* vrsettings_compositor_category = "compositor"; -static const char* vrsettings_steamvr_supersampleScale = "supersampleScale"; -static const char* vrsettings_steamvr_allowSupersampleFiltering = "allowSupersampleFiltering"; class QQuickWindow;