From 84253f4b4f6f76e95c1a08a9299e00b80ab45676 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 20 Aug 2022 17:48:39 -0500 Subject: [PATCH] GUI: Remove unnecessary translation calls --- src/Gui/DlgCustomizeSpaceball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/DlgCustomizeSpaceball.cpp b/src/Gui/DlgCustomizeSpaceball.cpp index 6e57bc1775..28f797b885 100644 --- a/src/Gui/DlgCustomizeSpaceball.cpp +++ b/src/Gui/DlgCustomizeSpaceball.cpp @@ -282,7 +282,7 @@ QString ButtonModel::getLabel(const int &number) const GetGroup(numberString.toLatin1())-> GetASCII("Description","")); if (desc.length()) - desc = tr(" \"") + desc + tr("\""); + desc = QString::fromUtf8(" \"") + desc + QString::fromUtf8("\""); return tr("Button %1").arg(number + 1) + desc; } else return tr("Out Of Range");