Less use of slow methods.

This commit is contained in:
con
2009-12-09 15:30:23 +01:00
parent 9097149cee
commit 3ab0a28cca
7 changed files with 12 additions and 13 deletions

View File

@@ -316,7 +316,7 @@ void ProgressManagerPrivate::taskFinished()
m_runningTasks.remove(task);
delete task;
if (!m_runningTasks.values().contains(type)) {
if (!m_runningTasks.key(type, 0)) {
emit allTasksFinished(type);
}
}