forked from qt-creator/qt-creator
TaskTree: Fix calling group done handler according to CallDoneIf
The regression was introduces in one of the refactoring patches.
Amends 37b6cb7f90
Change-Id: Ieb2350a024249d1ea9a50c7e2c3d05ce4faaf74a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1357,6 +1357,8 @@ void GroupItem::addChildren(const QList<GroupItem> &children)
|
||||
qWarning("Group done handler redefinition, overriding..."));
|
||||
m_groupData.m_groupHandler.m_doneHandler
|
||||
= child.m_groupData.m_groupHandler.m_doneHandler;
|
||||
m_groupData.m_groupHandler.m_callDoneIf
|
||||
= child.m_groupData.m_groupHandler.m_callDoneIf;
|
||||
}
|
||||
if (child.m_groupData.m_parallelLimit) {
|
||||
QT_ASSERT(!m_groupData.m_parallelLimit,
|
||||
|
Reference in New Issue
Block a user