Commit 1ae86779 authored by Scott Wheeler's avatar Scott Wheeler

Make the tree mode actually work.

svn path=/trunk/kdemultimedia/juk/; revision=228180
parent 60dd2acf
......@@ -385,9 +385,12 @@ void PlaylistBox::setSingleItem(QListViewItem *item)
void PlaylistBox::slotPlaylistChanged()
{
QValueList<Item *> items = selectedItems();
m_hasSelection = items.count() > 0;
m_hasSelection = !items.isEmpty();
if(m_updatePlaylistStack) {
if(!m_updatePlaylistStack)
return;
if(m_hasSelection) {
QValueList<Playlist *> playlists;
for(QValueList<Item *>::iterator i = items.begin(); i != items.end(); ++i)
......
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