diff --git a/Readme.md b/Readme.md index 6c56bef..bdfbc03 100644 --- a/Readme.md +++ b/Readme.md @@ -143,7 +143,7 @@ These version are not stable and this should be considered for advanced users on - **Supersampling Profile**: Allows to apply supersampling profiles. Profiles can be created on the SteamVR page - **Chaperone Profile**: Allows to apply chaperone profiles. Profiles can be created on the Chaperone page - **Microphone**: Allows to set the microphone volume and to mute/unmute it. -- **Push-to-Talk**: Enable/disable push-to-talk and allows to apply push-to-talk profiles. Profiles can be created on the Audio page. +- **Push-to-Talk**: Enable/disable push-to-talk. ## - SteamVR Page: diff --git a/docs/screenshots/RootPage.png b/docs/screenshots/RootPage.png index e4e6c20..6298c6a 100644 Binary files a/docs/screenshots/RootPage.png and b/docs/screenshots/RootPage.png differ diff --git a/src/res/qml/RootPage.qml b/src/res/qml/RootPage.qml index bfb9bae..84a083b 100644 --- a/src/res/qml/RootPage.qml +++ b/src/res/qml/RootPage.qml @@ -351,39 +351,6 @@ MyStackViewPage { AudioTabController.pttEnabled = checked } } - RowLayout { - spacing: 18 - - MyComboBox { - Layout.leftMargin: 78 - id: summaryPttProfileComboBox - Layout.maximumWidth: 378 - Layout.minimumWidth: 378 - Layout.preferredWidth: 378 - Layout.fillWidth: true - model: [""] - onCurrentIndexChanged: { - if (currentIndex > 0) { - summaryPttProfileApplyButton.enabled = true - } else { - summaryPttProfileApplyButton.enabled = false - } - } - } - - MyPushButton { - id: summaryPttProfileApplyButton - enabled: false - Layout.preferredWidth: 150 - text: "Apply" - onClicked: { - if (summaryPttProfileComboBox.currentIndex > 0) { - AudioTabController.applyPttProfile(summaryPttProfileComboBox.currentIndex - 1) - summaryPttProfileComboBox.currentIndex = 0 - } - } - } - } } Item { @@ -406,7 +373,6 @@ MyStackViewPage { Component.onCompleted: { reloadChaperoneProfiles() reloadSteamVRProfiles() - reloadPttProfiles() summaryVersionText.text = applicationVersion @@ -443,9 +409,6 @@ MyStackViewPage { Connections { target: AudioTabController - onPttProfilesUpdated: { - reloadPttProfiles() - } onMicVolumeChanged: { summaryMicVolumeSlider.value = AudioTabController.micVolume } @@ -529,14 +492,4 @@ MyStackViewPage { summarySteamVRProfileComboBox.currentIndex = 0 summarySteamVRProfileComboBox.model = profiles } - - function reloadPttProfiles() { - var profiles = [""] - var profileCount = AudioTabController.getPttProfileCount() - for (var i = 0; i < profileCount; i++) { - profiles.push(AudioTabController.getPttProfileName(i)) - } - summaryPttProfileComboBox.currentIndex = 0 - summaryPttProfileComboBox.model = profiles - } }