Fixed a potential issue where the downloader window closes but the downloader instance keeps running

This commit is contained in:
Marco Dalla Tiezza
2024-06-13 19:19:21 +02:00
parent 0f898ff6f5
commit 1d0c459402
3 changed files with 101 additions and 96 deletions

View File

@@ -24,6 +24,10 @@ Window {
signal onAbort()
onClosing: {
onAbort()
}
function updateProgressBar(bytesReceived, bytesTotal) {
progressBar.value = bytesReceived
progressBar.to = bytesTotal