From 36ca97d32b2f7c8d1a6cdfbff44b436a3e714a48 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 3 Apr 2023 15:17:18 +0200 Subject: [PATCH] PE: Silence soft assert Change-Id: Ie07d261cc49a20fd57d885e9be9d63c4b4a8743f Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp index f155c5656e7..25a897bd799 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp @@ -627,7 +627,7 @@ void LineEditField::setupCompletion(FancyLineEdit *lineEdit) && !isReservedName(entry.extraInfo) && !entry.extraInfo.startsWith('~') && !entry.extraInfo.contains("Anonymous:") - && !FilePath::fromString(entry.extraInfo).isAbsolutePath(); + && !FilePath::fromUserInput(entry.extraInfo).isAbsolutePath(); const bool isBaseClassCandidate = !isReservedName(entry.displayName) && !entry.displayName.startsWith("Anonymous:"); if (isBaseClassCandidate)