@@ -49,8 +49,13 @@ PreviewWidget {
49 dbusPath: progressBar.source["dbus-object"] || ""
49 dbusPath: progressBar.source["dbus-object"] || ""
51 onProgress: {
51 onProgress: {
53+ progressBar.indeterminate = true;
55+ progressBar.indeterminate = false;
52− var percentage = parseInt(received * 100 / total);
56+ var percentage = parseInt(received * 100 / total);
53− progressBar.value = percentage;
57+ progressBar.value = percentage;
56 onFinished: {
61 onFinished: {