This commit is contained in:
firestarsdog
2025-12-15 23:29:48 -05:00
committed by firestar5683
parent 4677300fde
commit b0189d0828
+1 -1
View File
@@ -293,7 +293,7 @@ void Installer::readProgress() {
auto line = QString(proc.readAllStandardError());
int base = 0;
for (const QPair kv : stages) {
for (const QPair<QString, int> kv : stages) {
if (line.startsWith(kv.first)) {
auto perc = line.split(kv.first)[1].split("%")[0];
int p = base + int(perc.toFloat() / 100. * kv.second);