PD: don't use a static variable as otherwise it won't be translated after changing the language

This commit is contained in:
wmayer
2023-04-21 12:05:21 +02:00
committed by wwmayer
parent bb3ecb5161
commit 396a7060ef

View File

@@ -81,13 +81,13 @@ TaskDressUpParameters::~TaskDressUpParameters()
const QString TaskDressUpParameters::btnPreviewStr()
{
static const QString text{ tr("Preview") };
const QString text{ tr("Preview") };
return text;
}
const QString TaskDressUpParameters::btnSelectStr()
{
static const QString text{ tr("Select") };
const QString text{ tr("Select") };
return text;
}