From 944edc277a8478f260168115f567ed3fc27fc7ee Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Sat, 24 Sep 2022 14:41:14 +0200 Subject: [PATCH] ReportDialog: Reduce lines per page fixes #22 --- src/gui/reportdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/reportdialog.cpp b/src/gui/reportdialog.cpp index decf8d2..682c737 100644 --- a/src/gui/reportdialog.cpp +++ b/src/gui/reportdialog.cpp @@ -75,7 +75,7 @@ void ReportDialog::onPrintReportButtonClicked() QPainter painter; int height = printer.height(); int width = printer.width(); - const double ENTRIES_PER_PAGE = 51; + const double ENTRIES_PER_PAGE = 45; const auto &sellers = m_market->getSellers(); unsigned int numPages = std::ceil(sellers.size() / ENTRIES_PER_PAGE);