diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-08-21 19:12:33 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-22 18:36:19 +0300 |
commit | 69f2921ffa856e93acb9bc920f3f761db2831880 (patch) | |
tree | d1d52b49b032e154780ab714e2fd93259c165a88 /printer.h | |
parent | 4553155cf319df3e06e8b29adcabe6125943335a (diff) | |
download | subsurface-69f2921ffa856e93acb9bc920f3f761db2831880.tar.gz |
Printing: use the same code for both statistics and divelist print
- use the same generic code for both types of templates
- check for the printing type before generating the template
- remove unused printStatistics() method
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printer.h')
-rw-r--r-- | printer.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -39,7 +39,6 @@ public: Printer(QPaintDevice *paintDevice, print_options *printOptions, template_options *templateOptions, PrintMode printMode); ~Printer(); void print(); - void print_statistics(); void previewOnePage(); signals: |