Commit e34a4ded1efce4c743cd04b2441c50eb5f86c655
1 parent
8813ca47
Don't need floating point value
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/openbr_plugin.cpp
| @@ -863,7 +863,7 @@ void br::Context::printStatus() | @@ -863,7 +863,7 @@ void br::Context::printStatus() | ||
| 863 | const float p = progress(); | 863 | const float p = progress(); |
| 864 | if (p < 1) { | 864 | if (p < 1) { |
| 865 | int s = timeRemaining(); | 865 | int s = timeRemaining(); |
| 866 | - fprintf(stderr, "%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100., QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); | 866 | + fprintf(stderr, "%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); |
| 867 | } | 867 | } |
| 868 | } | 868 | } |
| 869 | 869 |