PD: don't use a static variable as otherwise it won't be translated after changing the language
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user