changeset 177:d119235d3df0

This comment was no longer relevant.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Sep 2017 10:55:23 +0300
parents c29a1078d601
children 2155e05bf61c
files src/printing.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/printing.cpp	Wed Sep 20 09:49:09 2017 +0300
+++ b/src/printing.cpp	Wed Sep 20 10:55:23 2017 +0300
@@ -26,9 +26,7 @@
     printer.setPageMargins(QMarginsF(0.25f, 0.5f, 0.25f, 0.5f), QPageLayout::Inch);
     printer.setColorMode(QPrinter::GrayScale);
 
-    // We need to get the page count here, and also need it again in
-    // printDocument(), but there is no sane way to pass that there,
-    // so some code duplication is unfortunately necessary
+    // We need to get the page count and line counts per page here
     pinfo.npages = 0;
     pinfo.nlinesPerPage = 0;