diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-02 22:26:31 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-05 21:00:40 +0300 |
commit | bc80fc8849a01ac156c5e54ba8ef3fe04e1aaee3 (patch) | |
tree | d235d43cf54d5c30653147f2d1d9baec55bacf27 /qt-ui/printdialog.cpp | |
parent | 71561e720dbfd85b3cb724dd1eb509b0d230d5db (diff) | |
download | subsurface-bc80fc8849a01ac156c5e54ba8ef3fe04e1aaee3.tar.gz |
Printing: pass the template_options struct to TemplateLayout
The template_options struct needs to be passed to TemplateLayout
constructor.
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index 23c6f225e..9ff29e67b 100644 --- a/qt-ui/printdialog.cpp +++ b/qt-ui/printdialog.cpp @@ -45,7 +45,7 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f optionsWidget = new PrintOptions(this, &printOptions, &templateOptions); // create a new printer object - printer = new Printer(&qprinter, &printOptions); + printer = new Printer(&qprinter, &printOptions, &templateOptions); QVBoxLayout *layout = new QVBoxLayout(this); setLayout(layout); |