Material: use QStringLiteral 2

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-14 12:27:52 +01:00
parent 04d2bcbf45
commit f68ec76277
21 changed files with 209 additions and 209 deletions

View File

@@ -146,7 +146,7 @@ QWidget* ArrayDelegate::createWidget(QWidget* parent, const QVariant& item) cons
}
else if (_type == Materials::MaterialValue::Boolean) {
auto combo = new Gui::PrefComboBox(parent);
combo->insertItem(0, QString::fromStdString(""));
combo->insertItem(0, QStringLiteral(""));
combo->insertItem(1, tr("False"));
combo->insertItem(2, tr("True"));
combo->setCurrentText(item.toString());