summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/textwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/dagger/textwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/dagger/textwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/dagger/textwidget.cpp b/noncore/apps/dagger/textwidget.cpp
index 9f7de66..2df6455 100644
--- a/noncore/apps/dagger/textwidget.cpp
+++ b/noncore/apps/dagger/textwidget.cpp
@@ -142,13 +142,13 @@ void TextWidget::setText()
142 142
143 QString fullText; 143 QString fullText;
144 144
145 for ( int i = 0; i < m_numVerses; i++ ) 145 for ( int i = 0; i < m_numVerses; i++ )
146 { 146 {
147 QString key = ( QString ) m_module->KeyText(); 147 QString key = ( QString ) m_module->KeyText();
148 QString verseStr = ( QString ) *m_module; 148 QString verseStr = QString::fromUtf8( *m_module );
149 149
150 // Format current verse (adding chapter and/or book headings if necessary) 150 // Format current verse (adding chapter and/or book headings if necessary)
151 int verse = static_cast<sword::VerseKey>(m_module->Key()).Verse(); 151 int verse = static_cast<sword::VerseKey>(m_module->Key()).Verse();
152 if ( verse == 1 ) 152 if ( verse == 1 )
153 { 153 {
154 int chapter = static_cast<sword::VerseKey>(m_module->Key()).Chapter(); 154 int chapter = static_cast<sword::VerseKey>(m_module->Key()).Chapter();