author | drw <drw> | 2005-08-31 19:21:49 (UTC) |
---|---|---|
committer | drw <drw> | 2005-08-31 19:21:49 (UTC) |
commit | 8a74037f6174f187ea3f5583d6c253752792128a (patch) (side-by-side diff) | |
tree | ebe25ecf0a341c01b696904a5245e3f3e9778db7 /noncore/apps/dagger/textwidget.cpp | |
parent | 465eb3107bb32ad7ab2d726d8a510538fca56764 (diff) | |
download | opie-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) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/textwidget.cpp | 2 |
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() QString fullText; for ( int i = 0; i < m_numVerses; i++ ) { QString key = ( QString ) m_module->KeyText(); - QString verseStr = ( QString ) *m_module; + QString verseStr = QString::fromUtf8( *m_module ); // Format current verse (adding chapter and/or book headings if necessary) int verse = static_cast<sword::VerseKey>(m_module->Key()).Verse(); if ( verse == 1 ) { int chapter = static_cast<sword::VerseKey>(m_module->Key()).Chapter(); |