Fix missing audio duration in details view

Review Request #127799 - Created April 30, 2016 and submitted

Information
Marc André Wittorf
dolphin
Reviewers
dolphin

Enabling the 'duration' column in a folder with audio files did only show empty information. Properly initializing the QTime object fixes this.

  1. Find a folder with audio files
  2. Make sure that Baloo has indexed this folder
  3. Open this folder in Dolphin, detail view, enable the Audio/Duration column
  4. Unpatched Dolphin does not display audio duration, patched Dolphin does

Tested on Gentoo x86_64 with Qt 5.5.1, KF 5.21.0 and Arch x86_64 with Qt 5.6.0 and KF 5.21.0.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
Shouldn't it be the same with this? QTime duration(0, 0, value); Aleix Pol Gonzalez Aleix Pol Gonzalez
Aleix Pol Gonzalez
Emmanuel Pescosta
Marc André Wittorf
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 2e8e30026a207d380379fb2be0e4327bf4f455e8 by Albert Astals Cid on behalf of Marc André Wittorf to branch Applications/16.12.
Loading...