aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-29 03:16:19 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-05 21:00:25 +0300
commita600ea5201f55a3182cb24a0553d02aefad2c51b (patch)
treec356e41924ef3b39c4aa5dec6420b1574e518566 /qt-ui/printdialog.cpp
parentff594c65e3597f53164302f79df05c0b5e70980c (diff)
downloadsubsurface-a600ea5201f55a3182cb24a0553d02aefad2c51b.tar.gz
Printing: add template_options struct that contains template
The template_options struct holds the settings variables in the code. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r--qt-ui/printdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index 6e193d9bd..341a84083 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -34,7 +34,7 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
}
// create a print options object and pass our options struct
- optionsWidget = new PrintOptions(this, &printOptions);
+ optionsWidget = new PrintOptions(this, &printOptions, &templateOptions);
// create a new printer object
printer = new Printer(&qprinter, &printOptions);