From 654c6f3f13e41f22369fe3d319d663922b338521 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 14 Jun 2015 14:02:40 +0000 Subject: fixed length formatter git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5146 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/metadataformatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qmmpui/metadataformatter.cpp') diff --git a/src/qmmpui/metadataformatter.cpp b/src/qmmpui/metadataformatter.cpp index a3d409bc8..aa24eb387 100644 --- a/src/qmmpui/metadataformatter.cpp +++ b/src/qmmpui/metadataformatter.cpp @@ -98,7 +98,7 @@ QString MetaDataFormatter::format(const QMap &metaData, QString MetaDataFormatter::formatLength(qint64 length) { - if(length <= 0) + if(length < 0) return QString(); QString str; if(length >= 3600) -- cgit v1.2.3-13-gbd6f