PE: Silence soft assert

Change-Id: Ie07d261cc49a20fd57d885e9be9d63c4b4a8743f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2023-04-03 15:17:18 +02:00
parent cb4074713f
commit 36ca97d32b

View File

@@ -627,7 +627,7 @@ void LineEditField::setupCompletion(FancyLineEdit *lineEdit)
&& !isReservedName(entry.extraInfo) && !isReservedName(entry.extraInfo)
&& !entry.extraInfo.startsWith('~') && !entry.extraInfo.startsWith('~')
&& !entry.extraInfo.contains("Anonymous:") && !entry.extraInfo.contains("Anonymous:")
&& !FilePath::fromString(entry.extraInfo).isAbsolutePath(); && !FilePath::fromUserInput(entry.extraInfo).isAbsolutePath();
const bool isBaseClassCandidate = !isReservedName(entry.displayName) const bool isBaseClassCandidate = !isReservedName(entry.displayName)
&& !entry.displayName.startsWith("Anonymous:"); && !entry.displayName.startsWith("Anonymous:");
if (isBaseClassCandidate) if (isBaseClassCandidate)