Material: use QStringLiteral 2

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

View File

@@ -117,7 +117,7 @@ QVariant Array2DModel::headerData(int section, Qt::Orientation orientation, int
else if (orientation == Qt::Vertical) {
// Vertical header
if (section == (rowCount() - 1)) {
return QString::fromStdString("*");
return QStringLiteral("*");
}
return {section + 1};
}
@@ -258,7 +258,7 @@ QVariant Array3DDepthModel::headerData(int section, Qt::Orientation orientation,
if (orientation == Qt::Vertical) {
// Vertical header
if (section == (rowCount() - 1)) {
return QString::fromStdString("*");
return QStringLiteral("*");
}
return {section + 1};
}
@@ -416,7 +416,7 @@ QVariant Array3DModel::headerData(int section, Qt::Orientation orientation, int
if (orientation == Qt::Vertical) {
// Vertical header
if (section == (rowCount() - 1)) {
return QString::fromStdString("*");
return QStringLiteral("*");
}
return {section + 1};
}