Part: Use QStringLiteral
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user