From e9728d263c619357c99e3c234f60e9fb10a5dc7d Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 13 Jun 2020 12:52:27 +0200 Subject: [PATCH] Revert last non working Progress bar for Windows fix --- companion/src/process_flash.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/companion/src/process_flash.cpp b/companion/src/process_flash.cpp index ca8c3479e..502b3c7ca 100644 --- a/companion/src/process_flash.cpp +++ b/companion/src/process_flash.cpp @@ -160,10 +160,6 @@ void FlashProcess::analyseStandardOutput(const QString & text) int pos = (currStdoutLine.lastIndexOf("#") - 19) * 100 / 256; progress->setValue(pos); } - else if (currStdoutLine.startsWith("[") && progress->getText().contains("bytes_per_hash=2048")) { - int pos = (currStdoutLine.lastIndexOf("#") - 1) * 2048 * 100 / (2 * 1024 * 1024); // TODO depends on bin size - progress->setValue(pos); - } } if (text.contains("Complete ")) {