Fixed a potential issue where the downloader window closes but the downloader instance keeps running
This commit is contained in:
@@ -24,6 +24,10 @@ Window {
|
||||
|
||||
signal onAbort()
|
||||
|
||||
onClosing: {
|
||||
onAbort()
|
||||
}
|
||||
|
||||
function updateProgressBar(bytesReceived, bytesTotal) {
|
||||
progressBar.value = bytesReceived
|
||||
progressBar.to = bytesTotal
|
||||
|
||||
Reference in New Issue
Block a user