diff options
Diffstat (limited to 'bibletime/backend/cswordversekey.cpp')
-rw-r--r-- | bibletime/backend/cswordversekey.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bibletime/backend/cswordversekey.cpp b/bibletime/backend/cswordversekey.cpp index 7ea5741..d099061 100644 --- a/bibletime/backend/cswordversekey.cpp +++ b/bibletime/backend/cswordversekey.cpp @@ -173,19 +173,19 @@ const bool CSwordVerseKey::next( const JumpType type ) { case UseVerse: { if (m_module && m_module->module()) { - const bool oldtqStatus = m_module->module()->getSkipConsecutiveLinks(); + const bool oldStatus = m_module->module()->getSkipConsecutiveLinks(); m_module->module()->setSkipConsecutiveLinks(true); //disable headings for next verse const bool useHeaders = (Verse() == 0); - const bool oldHeadingstqStatus = ((VerseKey*)(m_module->module()->getKey()))->Headings( useHeaders ); + const bool oldHeadingsStatus = ((VerseKey*)(m_module->module()->getKey()))->Headings( useHeaders ); //don't use setKey(), that would create a new key without Headings set m_module->module()->getKey()->setText( (const char*)key().utf8() ); (*(m_module->module()) )++; - ((VerseKey*)(m_module->module()->getKey()))->Headings(oldHeadingstqStatus); - m_module->module()->setSkipConsecutiveLinks(oldtqStatus); + ((VerseKey*)(m_module->module()->getKey()))->Headings(oldHeadingsStatus); + m_module->module()->setSkipConsecutiveLinks(oldStatus); if (!m_module->module()->Error()) { key( TQString::fromUtf8(m_module->module()->KeyText()) ); @@ -258,16 +258,16 @@ const bool CSwordVerseKey::previous( const JumpType type ) { case UseVerse: { if (m_module && m_module->module()) { const bool useHeaders = (Verse() == 0); - const bool oldHeadingstqStatus = ((VerseKey*)(m_module->module()->getKey()))->Headings( useHeaders ); + const bool oldHeadingsStatus = ((VerseKey*)(m_module->module()->getKey()))->Headings( useHeaders ); m_module->module()->getKey()->setText( (const char*)key().utf8() ); - const bool oldtqStatus = m_module->module()->getSkipConsecutiveLinks(); + const bool oldStatus = m_module->module()->getSkipConsecutiveLinks(); m_module->module()->setSkipConsecutiveLinks(true); ( *( m_module->module() ) )--; - ((VerseKey*)(m_module->module()->getKey()))->Headings( oldHeadingstqStatus ); - m_module->module()->setSkipConsecutiveLinks(oldtqStatus); + ((VerseKey*)(m_module->module()->getKey()))->Headings( oldHeadingsStatus ); + m_module->module()->setSkipConsecutiveLinks(oldStatus); if (!m_module->module()->Error()) { key( TQString::fromUtf8(m_module->module()->KeyText()) );//don't use fromUtf8 |