summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r--qt-ui/printdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h
index bdcfbf733..1c6d30dfd 100644
--- a/qt-ui/printdialog.h
+++ b/qt-ui/printdialog.h
@@ -4,6 +4,7 @@
#include <QDialog>
#include <QPrinter>
#include "printoptions.h"
+#include "printer.h"
class QProgressBar;
class PrintOptions;
@@ -19,7 +20,8 @@ public:
private:
PrintOptions *optionsWidget;
QProgressBar *progressBar;
- QPrinter printer;
+ Printer *printer;
+ QPrinter qprinter;
struct print_options printOptions;
private