forked from qt-creator/qt-creator
Less use of slow methods.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user