aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlisttrack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlisttrack.cpp')
-rw-r--r--src/qmmpui/playlisttrack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmpui/playlisttrack.cpp b/src/qmmpui/playlisttrack.cpp
index 58a8245c0..fc9c139e9 100644
--- a/src/qmmpui/playlisttrack.cpp
+++ b/src/qmmpui/playlisttrack.cpp
@@ -207,7 +207,7 @@ const QStringList PlayListTrack::formattedTitles()
const QString PlayListTrack::formattedLength()
{
- if(m_length != 0 && m_formattedLength.isEmpty())
+ if(m_length > 0 && m_formattedLength.isEmpty())
{
m_formattedLength = MetaDataFormatter::formatLength(m_length);
}