Mobile: Fix QML Warnings.

Fix some runtime warnings when running the mobile build caused by
binding loops and deprecated handler syntax.

Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
Michael Keller 2024-05-28 14:20:55 +12:00
parent d9f50bb8e0
commit a39f0e2891
6 changed files with 22 additions and 15 deletions

View file

@ -111,14 +111,14 @@ TemplatePage {
}
Connections {
target: manager
onUploadFinish: {
function onUploadFinish(success, text) {
if (success) {
pageStack.pop()
}
statusText.text = text
progress.value = 0
}
onUploadProgress: {
function onUploadProgress(percentage) {
progress.value = percentage
}
}