Fixed crash when repacking paks
This commit is contained in:
parent
220c54004f
commit
b8b9426411
|
@ -132,9 +132,9 @@ private slots:
|
||||||
mSetMax = true;
|
mSetMax = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
setValue(Cur);
|
|
||||||
setLabelText(QString("%1 file %2 of %3...").arg(mMode == eExtract ? "Extracting" : "Repacking").arg(Cur).arg(Count));
|
setLabelText(QString("%1 file %2 of %3...").arg(mMode == eExtract ? "Extracting" : "Repacking").arg(Cur).arg(Count));
|
||||||
setWindowTitle(labelText());
|
setWindowTitle(labelText());
|
||||||
|
setValue(Cur);
|
||||||
}
|
}
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
@ -145,6 +145,7 @@ private slots:
|
||||||
|
|
||||||
void PakToolFinished(int ExitCode)
|
void PakToolFinished(int ExitCode)
|
||||||
{
|
{
|
||||||
|
while (mUpdating) {}
|
||||||
done(ExitCode == 0 ? eSuccess : eError);
|
done(ExitCode == 0 ? eSuccess : eError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue