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
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ void ReportDialog::onPrintReportButtonClicked()
QPainter painter; QPainter painter;
int height = printer.height(); int height = printer.height();
int width = printer.width(); int width = printer.width();
const double ENTRIES_PER_PAGE = 51; const double ENTRIES_PER_PAGE = 45;
const auto &sellers = m_market->getSellers(); const auto &sellers = m_market->getSellers();
unsigned int numPages = std::ceil(sellers.size() / ENTRIES_PER_PAGE); unsigned int numPages = std::ceil(sellers.size() / ENTRIES_PER_PAGE);