mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Progress dialog: show analysing... while no files or modules are known yet.
This commit is contained in:
parent
1c8f1b2c27
commit
b5dac0c333
@ -212,10 +212,17 @@ void progress_dialog_server::operator()()
|
||||
|
||||
std::string progr = "Progress:";
|
||||
|
||||
if (ftotal)
|
||||
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
||||
if (ptotal)
|
||||
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
||||
if (ftotal || ptotal)
|
||||
{
|
||||
if (ftotal)
|
||||
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
||||
if (ptotal)
|
||||
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
||||
}
|
||||
else
|
||||
{
|
||||
fmt::append(progr, " analysing...");
|
||||
}
|
||||
|
||||
// Changes detected, send update
|
||||
if (native_dlg)
|
||||
|
Loading…
Reference in New Issue
Block a user