Commit d5e8d001 authored by Frerich Raabe's avatar Frerich Raabe

- Make sure the field values get reset to QString::null for each search. This

  fixes using a single TagGuesser instance more than once.

svn path=/trunk/kdemultimedia/juk/; revision=214455
parent 24c8727c
......@@ -180,6 +180,8 @@ void TagGuesser::loadSchemes()
void TagGuesser::guess(const QString &absFileName)
{
m_title = m_artist = m_album = m_track = m_comment = QString::null;
FileNameScheme::List::ConstIterator it = m_schemes.begin();
FileNameScheme::List::ConstIterator end = m_schemes.end();
for (; it != end; ++it) {
......
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