ReportDialog: Reduce lines per page

fixes #22
This commit is contained in:
Martin Brodbeck 2022-09-24 14:41:14 +02:00
parent 0427bd4077
commit 944edc277a

View file

@ -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);