summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/templatelayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/templatelayout.cpp')
-rw-r--r--desktop-widgets/templatelayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp
index ca7e6218a..ec895687b 100644
--- a/desktop-widgets/templatelayout.cpp
+++ b/desktop-widgets/templatelayout.cpp
@@ -95,13 +95,13 @@ TemplateLayout::TemplateLayout(const print_options &printOptions, const template
{
}
-QString TemplateLayout::generate()
+QString TemplateLayout::generate(bool in_planner)
{
QString htmlContent;
State state;
- if (in_planner()) {
+ if (in_planner) {
state.dives.append(&displayed_dive);
} else {
int i;