aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistitem.cpp')
-rw-r--r--src/qmmpui/playlistitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp
index bacd3f803..3188c89fb 100644
--- a/src/qmmpui/playlistitem.cpp
+++ b/src/qmmpui/playlistitem.cpp
@@ -121,7 +121,7 @@ void PlayListItem::readMetadata()
m_title = printTag(m_title, "%D", discNumber());
m_title = printTag(m_title, "%f", url().section('/',-1));
m_title = printTag(m_title, "%F", url());
- m_title = printTag(m_title, "%y", QString("%1").arg(year ()));
+ m_title = printTag(m_title, "%y", year ());
//TODO rewrite this
if (m_title.isEmpty())
{