forked from qt-creator/qt-creator
OutputDataProvider: Fix workingList initialization
Broken in patchset 57 of the amended change.
Amends 2eba3584a1
Change-Id: I92c54793c8a31dd0f3f9a1e0b2cf8c4efde741ec
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -118,7 +118,7 @@ public:
|
||||
void run(QPromise<LocatorMatcherTask::OutputData> &promise)
|
||||
{
|
||||
QList<std::optional<LocatorMatcherTask::OutputData>> data;
|
||||
QList<std::optional<WorkingData>> workingList;
|
||||
QList<std::optional<WorkingData>> workingList(m_filterCount, {});
|
||||
while (waitForData(&data)) {
|
||||
// Emit new results only when new data is reachable from the beginning (i.e. no gaps)
|
||||
int currentIndex = 0;
|
||||
|
Reference in New Issue
Block a user