Fix formatting
QtCreator does not reformat things when using the "Refactor Symbol" option.
This commit is contained in:
@@ -63,8 +63,8 @@ void AudioTabController::initStage2( OverlayController* var_parent,
|
|||||||
this->parent = var_parent;
|
this->parent = var_parent;
|
||||||
this->widget = var_widget;
|
this->widget = var_widget;
|
||||||
|
|
||||||
std::string notifKey
|
std::string notifKey = std::string( application_strings::applicationKey )
|
||||||
= std::string( application_strings::applicationKey ) + ".pptnotification";
|
+ ".pptnotification";
|
||||||
|
|
||||||
vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay(
|
vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay(
|
||||||
notifKey.c_str(), notifKey.c_str(), &m_ulNotificationOverlayHandle );
|
notifKey.c_str(), notifKey.c_str(), &m_ulNotificationOverlayHandle );
|
||||||
|
|||||||
@@ -540,7 +540,8 @@ void ChaperoneTabController::handleChaperoneWarnings( float distance )
|
|||||||
{
|
{
|
||||||
if ( !vr::VROverlay()->IsDashboardVisible() )
|
if ( !vr::VROverlay()->IsDashboardVisible() )
|
||||||
{
|
{
|
||||||
vr::VROverlay()->ShowDashboard( application_strings::applicationKey );
|
vr::VROverlay()->ShowDashboard(
|
||||||
|
application_strings::applicationKey );
|
||||||
}
|
}
|
||||||
m_chaperoneShowDashboardActive = true;
|
m_chaperoneShowDashboardActive = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -259,8 +259,8 @@ QString getBatteryIconPath( int batteryState )
|
|||||||
vr::VROverlayHandle_t createBatteryOverlay( vr::TrackedDeviceIndex_t index )
|
vr::VROverlayHandle_t createBatteryOverlay( vr::TrackedDeviceIndex_t index )
|
||||||
{
|
{
|
||||||
vr::VROverlayHandle_t handle = vr::k_ulOverlayHandleInvalid;
|
vr::VROverlayHandle_t handle = vr::k_ulOverlayHandleInvalid;
|
||||||
std::string batteryKey = std::string( application_strings::applicationKey ) + ".battery."
|
std::string batteryKey = std::string( application_strings::applicationKey )
|
||||||
+ std::to_string( index );
|
+ ".battery." + std::to_string( index );
|
||||||
vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay(
|
vr::VROverlayError overlayError = vr::VROverlay()->CreateOverlay(
|
||||||
batteryKey.c_str(), batteryKey.c_str(), &handle );
|
batteryKey.c_str(), batteryKey.c_str(), &handle );
|
||||||
if ( overlayError == vr::VROverlayError_None )
|
if ( overlayError == vr::VROverlayError_None )
|
||||||
|
|||||||
Reference in New Issue
Block a user