Measure: Use QStringLiteral

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 18:18:41 +01:00
parent 4ed902e07f
commit b0b62f3f26
3 changed files with 3 additions and 3 deletions

View File

@@ -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()));