summaryrefslogtreecommitdiffstats
path: root/templatelayout.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-14 06:44:02 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-06-19 21:41:58 +0300
commit75263e3d2cba649d03579ccfe7f31bcfefd67e8c (patch)
tree5fdee428677d3001167a4462fce1fb938ff74a10 /templatelayout.cpp
parent6c54781e170a2c6ec556834d18a2d951a4c75253 (diff)
downloadsubsurface-75263e3d2cba649d03579ccfe7f31bcfefd67e8c.tar.gz
Printing: rename the "base" template for consistency
Change the name of the template "base" to "two_dives" as this name describes it better. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'templatelayout.cpp')
-rw-r--r--templatelayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/templatelayout.cpp b/templatelayout.cpp
index 2739b6d7e..39bb014d6 100644
--- a/templatelayout.cpp
+++ b/templatelayout.cpp
@@ -63,7 +63,7 @@ QString TemplateLayout::generate()
if (PrintOptions->p_template == print_options::ONE_DIVE) {
templateName = "one_dive.html";
} else if (PrintOptions->p_template == print_options::TWO_DIVE) {
- templateName = "base.html";
+ templateName = "two_dives.html";
}
Grantlee::Template t = m_engine->loadByName(templateName);
if (!t || t->error()) {