From 75263e3d2cba649d03579ccfe7f31bcfefd67e8c Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Sun, 14 Jun 2015 06:44:02 +0200 Subject: [PATCH] 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 Signed-off-by: Lubomir I. Ivanov --- printing_templates/{base.html => two_dives.html} | 0 templatelayout.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename printing_templates/{base.html => two_dives.html} (100%) diff --git a/printing_templates/base.html b/printing_templates/two_dives.html similarity index 100% rename from printing_templates/base.html rename to printing_templates/two_dives.html 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()) {