mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d9f50bb8e0
commit
a39f0e2891
6 changed files with 22 additions and 15 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue