diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2012-04-22 23:51:10 +0100 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2012-04-22 23:51:10 +0100 |
commit | e84717cb2d8bf1484dd810a66386fb7bff373581 (patch) | |
tree | 0d80fc7a56968efdde35edb7dd0573a1b42973e7 | |
parent | 03b1ed321059271a24b89ffcaf17fcfb14b6d1ff (diff) |
Times are in microseconds, not nanoseconds
So we use "us", not "ns".
-rw-r--r-- | mpris2/playertestwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpris2/playertestwidget.cpp b/mpris2/playertestwidget.cpp index d45ae1f..3a7ca74 100644 --- a/mpris2/playertestwidget.cpp +++ b/mpris2/playertestwidget.cpp @@ -107,7 +107,7 @@ static QString formatTimeNs(qlonglong time) qlonglong secs = static_cast<qlonglong>(round(time / 1000000.0)); qlonglong mins = secs / 60; secs = secs % 60; - return QString::number(time) + "ns (" + return QString::number(time) + "us (" + QString::number(mins) + ":" + QString::number(secs).rightJustified(2, '0') + ")"; } |