diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-02-13 21:11:42 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-02-13 21:11:42 +0000 |
| commit | 4e3ff2892f5401b09cf6875808f34bbbff05ae9b (patch) | |
| tree | 89f72b2cd60daacc23428002db4ec6dd15185b4f /src/qmmpui/playlistitem.cpp | |
| parent | 82f92ba6d7d91935f069d300cb46b3e614b7964a (diff) | |
| download | qmmp-4e3ff2892f5401b09cf6875808f34bbbff05ae9b.tar.gz qmmp-4e3ff2892f5401b09cf6875808f34bbbff05ae9b.tar.bz2 qmmp-4e3ff2892f5401b09cf6875808f34bbbff05ae9b.zip | |
qt-4.5 fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@786 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistitem.cpp')
| -rw-r--r-- | src/qmmpui/playlistitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp index 23ce0b0c7..ad4bc9cef 100644 --- a/src/qmmpui/playlistitem.cpp +++ b/src/qmmpui/playlistitem.cpp @@ -134,12 +134,12 @@ void PlayListItem::readMetadata() 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 ())); - + //TODO rewrite this if (m_title.isEmpty()) { if (url().startsWith("http://") && m_fullStreamPath) m_title = url(); - else + else if (url().contains('/')) m_title = url().split('/',QString::SkipEmptyParts).takeLast (); } if (m_info) |
