diff --git a/ChangeLog.txt b/ChangeLog.txt index d5509e372..99cd362f1 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ # Version 0.7.43 (unreleased) - Improve Windows installer. Avoid crashing on checking if a program is still running. - Fix regression. Changing dimension value caused an infinite loop. +- Fix regression. Export to tiled PDF has no suffix. # Version 0.7.42 Jan 26, 2021 - Fix export of pattern recipe. diff --git a/src/libs/vlayout/vprintlayout.cpp b/src/libs/vlayout/vprintlayout.cpp index ecffcc46a..4ad0b0cb4 100644 --- a/src/libs/vlayout/vprintlayout.cpp +++ b/src/libs/vlayout/vprintlayout.cpp @@ -527,11 +527,7 @@ void VPrintLayout::SetPrinterOutputFileName(QPrinter *printer, PrintType printTy { const QString outputFileName = filePath.isEmpty() ? QDir::homePath() + QDir::separator() + DocName() : filePath; -#ifdef Q_OS_WIN - printer->setOutputFileName(outputFileName); -#else printer->setOutputFileName(outputFileName + QStringLiteral(".pdf")); -#endif #ifdef Q_OS_MAC printer->setOutputFormat(QPrinter::NativeFormat);