From c34e4c5fcddfc90b887731094e2f193734e262a4 Mon Sep 17 00:00:00 2001 From: ebswift Date: Sat, 18 Oct 2025 11:41:22 +1000 Subject: [PATCH] Fix compilation error in TaskFeatureParameters.cpp --- src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp b/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp index 289c1f525a..92c681e373 100644 --- a/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp @@ -200,8 +200,8 @@ bool TaskDlgFeatureParameters::accept() QString statusText = QString::fromUtf8(getObject()->getStatusString()); // generic, fallback error message - if (errorText == "Error" || errorText.isEmpty()) { - if (!statusText.isEmpty() && statusText != "Error") { + if (errorText == QStringLiteral("Error") || errorText.isEmpty()) { + if (!statusText.isEmpty() && statusText != QStringLiteral("Error")) { errorText = statusText; } else { errorText = tr("The feature could not be created with the given parameters.\n"