From 18461a3b28105ccd730699ab59decf92f762cda2 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 13 Jun 2020 14:26:25 +0200 Subject: [PATCH] Progressbar for "Download firmware" --- companion/src/process_flash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/process_flash.cpp b/companion/src/process_flash.cpp index 502b3c7ca..ee01e29d0 100644 --- a/companion/src/process_flash.cpp +++ b/companion/src/process_flash.cpp @@ -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();