Commit 3fb62c28 authored by Michael Pyne's avatar Michael Pyne

Make Player::playingString() return a better result for tracks without an Artist

svn path=/trunk/KDE/kdemultimedia/juk/; revision=433498
parent 52fc08fa
......@@ -213,7 +213,11 @@ QString PlayerManager::playingString() const
if(!playing())
return QString::null;
return m_file.tag()->artist() + " - " + m_file.tag()->title();
QString str = m_file.tag()->artist() + " - " + m_file.tag()->title();
if(m_file.tag()->artist().isEmpty())
str = m_file.tag()->title();
return str;
}
void PlayerManager::setPlaylistInterface(PlaylistInterface *interface)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment