Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9eee17d3 authored by Scott Wheeler's avatar Scott Wheeler

Reverting here. I replaced the null check with a Q_ASSERT, but if it's returning

null there's a bug in QListViewItemIterator...  (But then, actually the code that
generates the list being used there checks for null, so this is all a bit silly.)

svn path=/trunk/kdemultimedia/juk/; revision=390855
parent 2b982ace
......@@ -216,12 +216,10 @@ void TagEditor::slotRefresh()
setEnabled(true);
PlaylistItem *item = m_items.first();
if(!item)
return;
Q_ASSERT(item);
Tag *tag = item->file().tag();
if(!tag)
return;
QFileInfo fi(item->file().absFilePath());
if(!fi.isWritable() && m_items.count() == 1)
......
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