diff options
Diffstat (limited to 'src/qmmpui/metadataformatter.h')
| -rw-r--r-- | src/qmmpui/metadataformatter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qmmpui/metadataformatter.h b/src/qmmpui/metadataformatter.h index 8f841ba9f..967087e4f 100644 --- a/src/qmmpui/metadataformatter.h +++ b/src/qmmpui/metadataformatter.h @@ -79,8 +79,11 @@ public: /*! * Returns formatted length (example: 05:02:03). * \param length Length in seconds. + * \param hideZero Setting for zero values output. + * If \b hideZero is \b true, then the function outputs empty string for zero length, + * otherwise outputs "0:00". */ - static QString formatLength(qint64 length); + static QString formatLength(qint64 length, bool hideZero = true); private: struct Node; |
