Gui: Use QStringLiteral
This commit is contained in:
@@ -250,7 +250,7 @@ void View3DInventor::print()
|
||||
void View3DInventor::printPdf()
|
||||
{
|
||||
QString filename = FileDialog::getSaveFileName(this, tr("Export PDF"), QString(),
|
||||
QString::fromLatin1("%1 (*.pdf)").arg(tr("PDF file")));
|
||||
QStringLiteral("%1 (*.pdf)").arg(tr("PDF file")));
|
||||
if (!filename.isEmpty()) {
|
||||
Gui::WaitCursor wc;
|
||||
QPrinter printer(QPrinter::ScreenResolution);
|
||||
|
||||
Reference in New Issue
Block a user