diff options
Diffstat (limited to 'src/backend/rendering/cchapterdisplay.cpp')
-rw-r--r-- | src/backend/rendering/cchapterdisplay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/rendering/cchapterdisplay.cpp b/src/backend/rendering/cchapterdisplay.cpp index eea2a72..e4fd1a1 100644 --- a/src/backend/rendering/cchapterdisplay.cpp +++ b/src/backend/rendering/cchapterdisplay.cpp @@ -2,7 +2,7 @@ * * This file is part of BibleTime's source code, http://www.bibletime.info/. * -* Copyright 1999-2011 by the BibleTime developers. +* Copyright 1999-2014 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License version 2.0. * **********/ @@ -42,13 +42,13 @@ const QString Rendering::CChapterDisplay::text( Q_ASSERT((module->type() == CSwordModuleInfo::Bible)); if (module->type() == CSwordModuleInfo::Bible) { - ((sword::VerseKey*)(module->module()->getKey()))->Headings(1); //HACK: enable headings for VerseKeys + ((sword::VerseKey*)(module->module()->getKey()))->setIntros(true); //HACK: enable headings for VerseKeys Q_ASSERT(dynamic_cast<const CSBMI*>(module) != 0); const CSBMI *bible = static_cast<const CSBMI*>(module); CSwordVerseKey k1(module); - k1.Headings(1); + k1.setIntros(true); k1.setKey(keyName); if (k1.getChapter() == 1) |