ui: changed the display format of the parse duration to "hh:mm:ss"

This commit is contained in:
malte_langkabel
2016-03-24 10:44:09 +01:00
parent 82db193c78
commit 880a199540
2 changed files with 21 additions and 3 deletions
@@ -29,7 +29,7 @@ void StatusBarController::handleMessage(MessageFinishedParsing* message)
getView()->setErrorCount(errorCount);
std::string status = message->getStatusStr();
status += " " + std::to_string(errorCount.total) + " error" + (errorCount.total > 1 ? "s" : "");
status += " " + std::to_string(errorCount.total) + " error" + (errorCount.total != 1 ? "s" : "");
if (errorCount.fatal > 0)
{
status += " (" + std::to_string(errorCount.fatal) + " fatal)";