Commit 8e0b475d authored by David Faure's avatar David Faure

Fix formatting of durations in the job tracker.

A duration (e.g. 1 second and 2 ms) should look like 00:00:01.002,
not "12:00:01 AM CEST.002".
parent d8ce9ee9
......@@ -139,7 +139,7 @@ static QString formatDurationWithMsec(qint64 msecs)
{
QTime time(0, 0, 0);
time = time.addMSecs(msecs);
return formatTimeWithMsec(time);
return time.toString(QStringLiteral("hh:mm:ss.zzz"));
}
QVariant JobTrackerModel::data(const QModelIndex &idx, int role) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment