summaryrefslogtreecommitdiffstats
path: root/templatelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'templatelayout.cpp')
-rw-r--r--templatelayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/templatelayout.cpp b/templatelayout.cpp
index 79508d6db..fec57cb2a 100644
--- a/templatelayout.cpp
+++ b/templatelayout.cpp
@@ -47,6 +47,7 @@ QString TemplateLayout::generate()
Grantlee::registerMetaType<Dive>();
Grantlee::registerMetaType<template_options>();
+ Grantlee::registerMetaType<print_options>();
QVariantHash mapping;
QVariantList diveList;
@@ -64,6 +65,7 @@ QString TemplateLayout::generate()
}
mapping.insert("dives", diveList);
mapping.insert("template_options", QVariant::fromValue(*templateOptions));
+ mapping.insert("print_options", QVariant::fromValue(*PrintOptions));
Grantlee::Context c(mapping);