diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-14 14:02:40 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-14 14:02:40 +0000 |
| commit | 654c6f3f13e41f22369fe3d319d663922b338521 (patch) | |
| tree | 5bd32f72863c414ff3ed24ac1b1c5f62e95d269a /src/qmmpui/metadataformatter.cpp | |
| parent | a7b25b95088323e1158f0f092924ff9cae3f43b7 (diff) | |
| download | qmmp-654c6f3f13e41f22369fe3d319d663922b338521.tar.gz qmmp-654c6f3f13e41f22369fe3d319d663922b338521.tar.bz2 qmmp-654c6f3f13e41f22369fe3d319d663922b338521.zip | |
fixed length formatter
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5146 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/metadataformatter.cpp')
| -rw-r--r-- | src/qmmpui/metadataformatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Qmmp::MetaData, QString> &metaData, QString MetaDataFormatter::formatLength(qint64 length) { - if(length <= 0) + if(length < 0) return QString(); QString str; if(length >= 3600) |
