proper variable name

This commit is contained in:
Flummi 2024-01-19 19:43:45 +01:00
parent 445a60a862
commit c6e29f9c15
Signed by: Flummi
GPG Key ID: AA2AEF822A6F4817

View File

@ -30,12 +30,12 @@ QQC2.Pane {
snapMode: Slider.SnapAlways snapMode: Slider.SnapAlways
Kirigami.FormData.label: i18nc("@label", "polling rate in seconds:") Kirigami.FormData.label: i18nc("@label", "polling rate in seconds:")
onMoved: { onMoved: {
test.text = this.value + " seconds"; pollingratevalue.text = this.value + " seconds";
} }
} }
Text { Text {
id: test id: pollingratevalue
text: pollingrate.value + " seconds" text: pollingrate.value + " seconds"
color: PlasmaCore.Theme.textColor color: PlasmaCore.Theme.textColor
} }