Fix string creation

This commit is contained in:
Thomas Wilshaw
2022-01-07 01:24:29 +00:00
parent 764c7bb088
commit da00d94b60
+1 -1
View File
@@ -105,7 +105,7 @@ bool LoadOTIOTask::Run()
} else { } else {
// If the otio timeline does not provide a name, create a default one here // If the otio timeline does not provide a name, create a default one here
unnamed_sequence_count++; unnamed_sequence_count++;
QString label = tr("Sequence") + QString(" ") + QString::number(unnamed_sequence_count); QString label = tr("Sequence %1").arg(unnamed_sequence_count);
sequence->SetLabel(QString::fromStdString(label.toStdString())); sequence->SetLabel(QString::fromStdString(label.toStdString()));
} }
// Set default params incase they aren't edited. // Set default params incase they aren't edited.