use duration format HH:MM:SS in the search Tab. easier to read and less less

This commit is contained in:
LoudSnorer 2023-02-27 19:59:05 -05:00
parent 1e92c91efe
commit 22d466ba56

View File

@ -1189,7 +1189,7 @@ QString DailySearchTab::formatTime (qint32 ms) {
qint32 minutes = ms / 60000;
ms = ms % 60000;
qint32 seconds = ms /1000;
return QString(tr("%1h %2m %3s")).arg(hours).arg(minutes).arg(seconds);
return QString("%1:%2:%3").arg(hours).arg(minutes,2,10,QLatin1Char('0')).arg(seconds,2,10,QLatin1Char('0'));
}
QString DailySearchTab::convertRichText2Plain (QString rich) {