21539: Updated Logic to match request

This commit is contained in:
Menithal 2017-11-27 07:42:18 +02:00
parent ba1cd74ffe
commit 5d52b9936b
2 changed files with 1 additions and 3 deletions

View file

@ -158,7 +158,6 @@ Rectangle {
} }
RalewayBold { RalewayBold {
id: hmdInDesktopLabel
size: 12 size: 12
visible: viveInDesktop.checked visible: viveInDesktop.checked
text: "None" text: "None"

View file

@ -168,7 +168,6 @@ void ViveControllerManager::setConfigurationSettings(const QJsonObject configura
} }
if (configurationSettings.contains("hmdDesktopTracking")) { if (configurationSettings.contains("hmdDesktopTracking")) {
_hmdDesktopTracking = configurationSettings["hmdDesktopTracking"].toBool(); _hmdDesktopTracking = configurationSettings["hmdDesktopTracking"].toBool();
} }
@ -458,7 +457,7 @@ void ViveControllerManager::InputDevice::configureCalibrationSettings(const QJso
iter++; iter++;
} }
_hmdTrackingEnabled = !(hmdDesktopMode && !hmdDesktopTracking); _hmdTrackingEnabled = !(hmdDesktopMode && hmdDesktopTracking);
} }
} }