Measure: Use QStringLiteral
This commit is contained in:
@@ -119,7 +119,7 @@ TaskMeasure::TaskMeasure()
|
||||
|
||||
// Create mode dropdown and add all registered measuretypes
|
||||
modeSwitch = new QComboBox();
|
||||
modeSwitch->addItem(QString::fromLatin1("Auto"));
|
||||
modeSwitch->addItem(QStringLiteral("Auto"));
|
||||
|
||||
for (App::MeasureType* mType : App::MeasureManager::getMeasureTypes()) {
|
||||
modeSwitch->addItem(QString::fromLatin1(mType->label.c_str()));
|
||||
|
||||
Reference in New Issue
Block a user