diff src/main.h @ 160:1c2f9d09e87b

Begin working on printing fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Sep 2017 11:27:38 +0300
parents 325e7590f93e
children 636a24c76232
line wrap: on
line diff
--- a/src/main.h	Mon Sep 18 09:50:23 2017 +0300
+++ b/src/main.h	Tue Sep 19 11:27:38 2017 +0300
@@ -165,7 +165,7 @@
     void updateMiscValues();
     void backupDatabase();
 
-    bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer);
+    bool printDocumentPage(const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer);
 
     PersonSQLModel *model_People;
 
@@ -224,6 +224,8 @@
     int peopleSortIndex;
     Qt::SortOrder peopleSortOrder;
     QString peopleFilter;
+
+    SLPageInfo pinfo;
 };