From d74ffd358bead62fcff72bf358882131915cf4da Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 13 Sep 2023 11:30:55 +0200 Subject: [PATCH] Part: fix encoding issue in BOPProgressIndicator::Show --- src/Mod/Part/Gui/TaskCheckGeometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Part/Gui/TaskCheckGeometry.cpp b/src/Mod/Part/Gui/TaskCheckGeometry.cpp index 4e842e49e7..4599219825 100644 --- a/src/Mod/Part/Gui/TaskCheckGeometry.cpp +++ b/src/Mod/Part/Gui/TaskCheckGeometry.cpp @@ -1363,7 +1363,7 @@ Standard_Boolean BOPProgressIndicator::Show (const Standard_Boolean theForce) else { Handle(TCollection_HAsciiString) aName = GetScope(1).GetName(); //current step if (!aName.IsNull()) - myProgress->setLabelText (QString::fromLatin1(aName->ToCString())); + myProgress->setLabelText (QString::fromUtf8(aName->ToCString())); } return Standard_True; @@ -1373,7 +1373,7 @@ void BOPProgressIndicator::Show (const Message_ProgressScope& theScope, const Standard_Boolean isForce) { Standard_CString aName = theScope.Name(); //current step - myProgress->setLabelText (QString::fromLatin1(aName)); + myProgress->setLabelText (QString::fromUtf8(aName)); if (isForce) { myProgress->show();