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 30d3554b authored by Frerich Raabe's avatar Frerich Raabe

- Don't be so rough on the GUI while guessing tags for many files (and/or over

  a slow link).
  Scott: I leave it up to you whether to backport this as it is, or whether to
  go for a different fix.
CCMAIL:78431-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=299178
parent 2f8f4567
......@@ -564,8 +564,14 @@ void Playlist::slotGuessTagInfo(TagGuesser::Type type)
{
KApplication::setOverrideCursor(Qt::waitCursor);
PlaylistItemList items = selectedItems();
for(PlaylistItemList::Iterator it = items.begin(); it != items.end(); ++it)
int j = 0;
for(PlaylistItemList::Iterator it = items.begin(); it != items.end(); ++it) {
(*it)->guessTagInfo(type);
j = j % 5 + 1;
if(j % 5 == 0)
kapp->processEvents();
}
KApplication::restoreOverrideCursor();
}
......
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