diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/qmmp/Input/flac/tag.cpp | 4 | ||||
| -rw-r--r-- | lib/qmmp/Input/mpc/tag.cpp | 4 | ||||
| -rw-r--r-- | lib/qmmp/Input/vorbis/tag.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/qmmp/Input/flac/tag.cpp b/lib/qmmp/Input/flac/tag.cpp index 71feb9051..fd3530c0c 100644 --- a/lib/qmmp/Input/flac/tag.cpp +++ b/lib/qmmp/Input/flac/tag.cpp @@ -38,12 +38,12 @@ Tag::Tag(const QString &source) m_title = QString::fromUtf8(m_tag->title().toCString(TRUE)).trimmed(); m_year = 0; m_track = 0; - if(fileRef.audioProperties()) - m_length = fileRef.audioProperties()->length(); m_empty = FALSE; } else m_tag = 0; + if(fileRef.audioProperties()) + m_length = fileRef.audioProperties()->length(); } diff --git a/lib/qmmp/Input/mpc/tag.cpp b/lib/qmmp/Input/mpc/tag.cpp index 71feb9051..fd3530c0c 100644 --- a/lib/qmmp/Input/mpc/tag.cpp +++ b/lib/qmmp/Input/mpc/tag.cpp @@ -38,12 +38,12 @@ Tag::Tag(const QString &source) m_title = QString::fromUtf8(m_tag->title().toCString(TRUE)).trimmed(); m_year = 0; m_track = 0; - if(fileRef.audioProperties()) - m_length = fileRef.audioProperties()->length(); m_empty = FALSE; } else m_tag = 0; + if(fileRef.audioProperties()) + m_length = fileRef.audioProperties()->length(); } diff --git a/lib/qmmp/Input/vorbis/tag.cpp b/lib/qmmp/Input/vorbis/tag.cpp index 15964e615..8f7e28caa 100644 --- a/lib/qmmp/Input/vorbis/tag.cpp +++ b/lib/qmmp/Input/vorbis/tag.cpp @@ -38,12 +38,12 @@ Tag::Tag(const QString &source) m_title = QString::fromUtf8(m_tag->title().toCString(TRUE)).trimmed(); m_year = 0; m_track = 0; - if(fileRef.audioProperties()) - m_length = fileRef.audioProperties()->length(); m_empty = FALSE; } else m_tag = 0; + if(fileRef.audioProperties()) + m_length = fileRef.audioProperties()->length(); } |
