mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
use duration format HH:MM:SS in the search Tab. easier to read and less less
This commit is contained in:
parent
1e92c91efe
commit
22d466ba56
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user