GenericProposalModel: Remove unneeded condition

Change-Id: I60234bbf8291d950c475e45866018978d4c423a8
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Andre Hartmann
2019-07-23 19:58:44 +02:00
committed by André Hartmann
parent 44acfc0702
commit 29df009cef

View File

@@ -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;
} }
} }