summaryrefslogtreecommitdiffstats
path: root/qt-ui/templateedit.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-05 07:26:39 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-05 21:03:04 +0300
commitc44496e23d3e16ec6b5622eea73ae39d991e27bf (patch)
tree822d7e82316872ada6062e3a643aad2c574d5f19 /qt-ui/templateedit.cpp
parenta70cea95e8c67805945eda8e874a12f67daebe9f (diff)
downloadsubsurface-c44496e23d3e16ec6b5622eea73ae39d991e27bf.tar.gz
Printing: move template_options to print_options.h
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/templateedit.cpp')
-rw-r--r--qt-ui/templateedit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/templateedit.cpp b/qt-ui/templateedit.cpp
index a4236d036..aecfdc434 100644
--- a/qt-ui/templateedit.cpp
+++ b/qt-ui/templateedit.cpp
@@ -1,12 +1,14 @@
#include "templateedit.h"
+#include "printoptions.h"
#include "ui_templateedit.h"
-TemplateEdit::TemplateEdit(QWidget *parent, struct template_options *templateOptions) :
+TemplateEdit::TemplateEdit(QWidget *parent, struct print_options *printOptions, struct template_options *templateOptions) :
QDialog(parent),
ui(new Ui::TemplateEdit)
{
ui->setupUi(this);
this->templateOptions = templateOptions;
+ this->printOptions = printOptions;
// restore the settings and init the UI
ui->fontSelection->setCurrentIndex(templateOptions->font_index);