forked from qt-creator/qt-creator
QmakeProject: Fix mergeLists which lead to cumulative parse being ignored
Any .pri files only found via cumulative parsing were ignored. Task-number: QTCREATORBUG-13181 Change-Id: I1a7a639097b38a4ce1de01824be196a0c2781e84 Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -1777,7 +1777,7 @@ static QStringList mergeList(const QStringList &listA, const QStringList &listB)
|
|||||||
auto ait = listA.constBegin();
|
auto ait = listA.constBegin();
|
||||||
auto aend = listA.constEnd();
|
auto aend = listA.constEnd();
|
||||||
auto bit = listB.constBegin();
|
auto bit = listB.constBegin();
|
||||||
auto bend = listB.constBegin();
|
auto bend = listB.constEnd();
|
||||||
while (ait != aend && bit != bend) {
|
while (ait != aend && bit != bend) {
|
||||||
const QString &a = *ait;
|
const QString &a = *ait;
|
||||||
const QString &b = *bit;
|
const QString &b = *bit;
|
||||||
|
|||||||
Reference in New Issue
Block a user