Progressbar for "Download firmware"

This commit is contained in:
Bertrand Songis
2020-06-13 14:26:25 +02:00
parent e9728d263c
commit 18461a3b28
+1 -1
View File
@@ -176,7 +176,7 @@ void FlashProcess::analyseStandardOutput(const QString & text)
}
}
if (text.contains("Upload\t[")) {
if (text.contains("Upload\t[") || text.contains("Download\t[")) {
int end = text.indexOf("%");
if (end > 0) {
int value = text.mid(end - 3, 3).toInt();