Fixed Profile Viewing

This commit is contained in:
ykeara
2019-01-08 21:31:13 -06:00
parent 9351267fb5
commit 123c38c586
3 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -142,7 +142,7 @@ MyStackViewPage {
onClicked: {
if (steamvrProfileComboBox.currentIndex > 0) {
SteamVRTabController.applySteamVRProfile(steamvrProfileComboBox.currentIndex - 1)
steamvrProfileComboBox.currentIndex = 0
//steamvrProfileComboBox.currentIndex = 0
}
}
}
@@ -440,6 +440,9 @@ MyStackViewPage {
onSteamVRProfilesUpdated: {
reloadSteamVRProfiles()
}
onSteamVRProfileAdded:{
steamvrProfileComboBox.currentIndex = SteamVRTabController.getSteamVRProfileCount()
}
}
}
@@ -117,6 +117,7 @@ void SteamVRTabController::saveSteamVRProfiles()
settings->setValue( "supersampleFiltering",
p.supersampleFiltering );
}
settings->setValue("motionSmooth", p.motionSmooth);
/*
settings->setValue( "includesReprojectionSettings",
p.includesReprojectionSettings );
@@ -641,6 +642,7 @@ void SteamVRTabController::addSteamVRProfile( QString name,
saveSteamVRProfiles();
OverlayController::appSettings()->sync();
emit steamVRProfilesUpdated();
emit steamVRProfileAdded();
}
void SteamVRTabController::applySteamVRProfile( unsigned index )
@@ -120,6 +120,7 @@ signals:
void allowSupersampleFilteringChanged( bool value );
void steamVRProfilesUpdated();
void steamVRProfileAdded();
};
} // namespace advsettings