mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Progress dialog: show analysing... while no files or modules are known yet.
This commit is contained in:
parent
1c8f1b2c27
commit
b5dac0c333
1 changed files with 11 additions and 4 deletions
|
@ -212,10 +212,17 @@ void progress_dialog_server::operator()()
|
||||||
|
|
||||||
std::string progr = "Progress:";
|
std::string progr = "Progress:";
|
||||||
|
|
||||||
|
if (ftotal || ptotal)
|
||||||
|
{
|
||||||
if (ftotal)
|
if (ftotal)
|
||||||
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
||||||
if (ptotal)
|
if (ptotal)
|
||||||
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fmt::append(progr, " analysing...");
|
||||||
|
}
|
||||||
|
|
||||||
// Changes detected, send update
|
// Changes detected, send update
|
||||||
if (native_dlg)
|
if (native_dlg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue