summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/textwidget.cpp
authordrw <drw>2005-08-31 19:21:49 (UTC)
committer drw <drw>2005-08-31 19:21:49 (UTC)
commit8a74037f6174f187ea3f5583d6c253752792128a (patch) (unidiff)
treeebe25ecf0a341c01b696904a5245e3f3e9778db7 /noncore/apps/dagger/textwidget.cpp
parent465eb3107bb32ad7ab2d726d8a510538fca56764 (diff)
downloadopie-8a74037f6174f187ea3f5583d6c253752792128a.zip
opie-8a74037f6174f187ea3f5583d6c253752792128a.tar.gz
opie-8a74037f6174f187ea3f5583d6c253752792128a.tar.bz2
Fix support for non-English language texts
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
@@ -145,7 +145,7 @@ void TextWidget::setText()
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();