Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 4588 → Rev 4589

/branches/Version13x/Scribus/scribus/filewatcher.cpp
108,6 → 108,7
blockAddRemove = true;
watchTimer->stop();
QDateTime time;
QStringList toRemove;
QMap<QString, fileMod>::Iterator it;
for ( it = watchedFiles.begin(); it != watchedFiles.end(); ++it )
{
118,7 → 119,7
emit dirDeleted(it.key());
else
emit fileDeleted(it.key());
watchedFiles.remove(it);
toRemove.append(it.key());
continue;
}
time = it.data().info.lastModified();
152,6 → 153,8
}
}
}
for(unsigned int i=0; i<toRemove.count(); ++i)
watchedFiles.remove(toRemove[i]);
blockAddRemove = false;
watchTimer->start(m_timeOut, true);
}