Commit cf2ea654 authored by Scott Wheeler's avatar Scott Wheeler

Assume that we're passing in a valid list of Playlists since this code

wouldn't have actually worked if we weren't.  (Since removing stuff from
a list that we're iterating through doesn't work.)

svn path=/trunk/kdemultimedia/juk/; revision=250894
parent c2ed1329
......@@ -32,13 +32,9 @@ DynamicPlaylist::DynamicPlaylist(const PlaylistList &playlists, QWidget *parent,
setSorting(columns() + 1);
for(PlaylistList::ConstIterator it = m_playlists.begin(); it != m_playlists.end(); ++it) {
if(*it) {
connect(*it, SIGNAL(signalDataChanged()), this, SLOT(slotSetDirty()));
connect(*it, SIGNAL(signalCountChanged(Playlist *)), this, SLOT(slotSetDirty()));
connect(CollectionList::instance(), SIGNAL(signalCollectionChanged()), this, SLOT(slotSetDirty()));
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