diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 4081615..1fb032a 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -863,10 +863,8 @@ void br::Context::printStatus() { if (verbose || quiet || (totalSteps < 2)) return; const float p = progress(); - if (p < 1) { - int s = timeRemaining(); - fprintf(stderr,"%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g \r", p*100, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(s).toStdString().c_str(), Globals->currentStep); - } + if (p < 1) + qDebug("%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g \r", p*100, qPrintable(QtUtils::toTime(Globals->startTime.elapsed()/1000.0f)), qPrintable(QtUtils::toTime(timeRemaining())), Globals->currentStep); } float br::Context::progress() const