Commit d23631d0 authored by Emmanuel Pescosta's avatar Emmanuel Pescosta

Show the real audio file duration in additional informations

Big Thanks to Frank Reininghaus and Vishesh Handa!

BUG: 311794
REVIEW: 108281
FIXED-IN: 4.10
parent 4e6d2d84
......@@ -183,7 +183,7 @@ QString KNepomukRolesProvider::orientationFromValue(int value) const
QString KNepomukRolesProvider::durationFromValue(int value) const
QTime duration;
duration = duration.addMSecs(value);
duration = duration.addSecs(value);
return duration.toString("hh:mm:ss");
......@@ -73,7 +73,7 @@ private:
* @return Duration in the format HH::MM::SS for the value given
* in milliseconds.
* in seconds.
QString durationFromValue(int value) const;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment