mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
made requested changes
This commit is contained in:
parent
0f0bf79367
commit
7687617e91
1 changed files with 3 additions and 3 deletions
|
@ -576,7 +576,7 @@ void ViveControllerManager::InputDevice::saveSettings() const {
|
|||
}
|
||||
|
||||
QString ViveControllerManager::InputDevice::configToString() {
|
||||
QString currentConfig = "";
|
||||
QString currentConfig;
|
||||
switch (_preferedConfig) {
|
||||
case Config::Auto:
|
||||
currentConfig = "Auto";
|
||||
|
@ -601,7 +601,7 @@ void ViveControllerManager::InputDevice::setConfigFromString(const QString& valu
|
|||
if (value == "Auto") {
|
||||
_preferedConfig = Config::Auto;
|
||||
} else if (value == "Feet") {
|
||||
_preferedConfig = Config::Feet;
|
||||
_preferedConfig = Config::Feet;
|
||||
} else if (value == "FeetAndHips") {
|
||||
_preferedConfig = Config::FeetAndHips;
|
||||
} else if (value == "FeetHipsAndChest") {
|
||||
|
@ -612,7 +612,7 @@ void ViveControllerManager::InputDevice::setConfigFromString(const QString& valu
|
|||
void ViveControllerManager::InputDevice::createPreferences() {
|
||||
loadSettings();
|
||||
auto preferences = DependencyManager::get<Preferences>();
|
||||
static const QString VIVE_PUCKS_CONFIG { "Vive Pucks Configuration" };
|
||||
static const QString VIVE_PUCKS_CONFIG = "Vive Pucks Configuration";
|
||||
|
||||
{
|
||||
auto getter = [this]()->QString { return configToString(); };
|
||||
|
|
Loading…
Reference in a new issue