fix: SettingsPage zu Settings umbenannt für Kompatibilität

- SettingsPage.qml -> Settings.qml für bessere QML-Engine-Kompatibilität
- onMoved -> onValueChanged für Slider-Signal-Handler (Qt-Version Kompatibilität)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
darklithium
2026-06-03 00:27:53 +02:00
parent 7c32796712
commit e31fd5fdce
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -232,8 +232,15 @@ MainView {
}
// ================================================================
SettingsPage {
id: settingsPage
}
=======
// SEITE 1: EINSTELLUNGEN
// ================================================================
Settings {
id: settingsPage
}================================================================
SettingsPage {
id: settingsPage
}
+2 -2
View File
@@ -106,7 +106,7 @@ Page {
stepSize: 0.1
value: 0.5
onMoved: {
onValueChanged: {
var volume = musicVolumeSlider.value;
py.call("fortunecookie.set_music_volume", [volume]);
musicVolumeLabel.text = Math.round(volume * 100) + "%";
@@ -144,7 +144,7 @@ Page {
stepSize: 0.1
value: 1.0
onMoved: {
onValueChanged: {
var volume = crackVolumeSlider.value;
py.call("fortunecookie.set_crack_volume", [volume]);
crackVolumeLabel.text = Math.round(volume * 100) + "%";