Add QPrinter::HighResolution

This commit is contained in:
Laurent Trinques
2022-05-05 13:37:24 +02:00
parent f0694f0daf
commit 1f4dfdba3f

View File

@@ -46,6 +46,7 @@
void ProjectPrintWindow::launchDialog(QETProject *project, QPrinter::OutputFormat format, QWidget *parent)
{
auto printer_ = new QPrinter();
QPrinter printer(QPrinter::HighResolution);
printer_->setDocName(ProjectPrintWindow::docName(project));
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 1) // ### Qt 6: remove
printer_->setOrientation(QPrinter::Landscape);