forked from qt-creator/qt-creator
GenericProposalModel: Remove unneeded condition
Change-Id: I60234bbf8291d950c475e45866018978d4c423a8 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
44acfc0702
commit
29df009cef
@@ -217,7 +217,6 @@ bool GenericProposalModel::isPerfectMatch(const QString &prefix) const
|
|||||||
if (proposalItem(i)->isKeyword())
|
if (proposalItem(i)->isKeyword())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!hasFullMatch)
|
|
||||||
hasFullMatch = true;
|
hasFullMatch = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user