From 815fc1541482cd20d98b6469bd77b51aacc9b7ed Mon Sep 17 00:00:00 2001 From: Vasily Date: Mon, 11 Mar 2019 12:32:51 +0100 Subject: [PATCH] Fix formatting QtCreator does not reformat things when using the "Refactor Symbol" option. --- src/tabcontrollers/AudioTabController.cpp | 4 ++-- src/tabcontrollers/ChaperoneTabController.cpp | 3 ++- src/tabcontrollers/UtilitiesTabController.cpp | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tabcontrollers/AudioTabController.cpp b/src/tabcontrollers/AudioTabController.cpp index f222441..1f0ea2c 100644 --- a/src/tabcontrollers/AudioTabController.cpp +++ b/src/tabcontrollers/AudioTabController.cpp @@ -63,8 +63,8 @@ void AudioTabController::initStage2( OverlayController* var_parent, this->parent = var_parent; this->widget = var_widget; - std::string notifKey - = std::string( application_strings::applicationKey ) + ".pptnotification"; + std::string notifKey = std::string( application_strings::applicationKey ) + + ".pptnotification"; vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay( notifKey.c_str(), notifKey.c_str(), &m_ulNotificationOverlayHandle ); diff --git a/src/tabcontrollers/ChaperoneTabController.cpp b/src/tabcontrollers/ChaperoneTabController.cpp index d9fe052..40e3133 100644 --- a/src/tabcontrollers/ChaperoneTabController.cpp +++ b/src/tabcontrollers/ChaperoneTabController.cpp @@ -540,7 +540,8 @@ void ChaperoneTabController::handleChaperoneWarnings( float distance ) { if ( !vr::VROverlay()->IsDashboardVisible() ) { - vr::VROverlay()->ShowDashboard( application_strings::applicationKey ); + vr::VROverlay()->ShowDashboard( + application_strings::applicationKey ); } m_chaperoneShowDashboardActive = true; } diff --git a/src/tabcontrollers/UtilitiesTabController.cpp b/src/tabcontrollers/UtilitiesTabController.cpp index 6f533ce..91e85b5 100644 --- a/src/tabcontrollers/UtilitiesTabController.cpp +++ b/src/tabcontrollers/UtilitiesTabController.cpp @@ -259,8 +259,8 @@ QString getBatteryIconPath( int batteryState ) vr::VROverlayHandle_t createBatteryOverlay( vr::TrackedDeviceIndex_t index ) { vr::VROverlayHandle_t handle = vr::k_ulOverlayHandleInvalid; - std::string batteryKey = std::string( application_strings::applicationKey ) + ".battery." - + std::to_string( index ); + std::string batteryKey = std::string( application_strings::applicationKey ) + + ".battery." + std::to_string( index ); vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay( batteryKey.c_str(), batteryKey.c_str(), &handle ); if ( overlayError == vr::VROverlayError_None )