Part: Use QStringLiteral

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 18:02:40 +01:00
parent 835905f76e
commit bada65edc3
23 changed files with 161 additions and 161 deletions

View File

@@ -63,7 +63,7 @@ void DlgPartImportStepImp::OnApply()
void DlgPartImportStepImp::onChooseFileName()
{
QString fn = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(), QString(), QString(),
QString::fromLatin1("%1 (*.stp *.step);;%2 (*.*)"))
QStringLiteral("%1 (*.stp *.step);;%2 (*.*)"))
.arg(QLatin1String("STEP"),
tr("All Files"));
if (!fn.isEmpty()) {