Browse Source

Fix old Sword API FTBFS


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173695 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tags/v3.5.13
tpearson 8 years ago
parent
commit
75ebad37bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bibletime/backend/cswordversekey.cpp

+ 1
- 1
bibletime/backend/cswordversekey.cpp View File

@@ -97,7 +97,7 @@ const QString CSwordVerseKey::book( const QString& newBook ) {
97 97
 
98 98
 		for (int testament = min; testament <= max && !finished; ++testament) {
99 99
 			for (int book = 0; book < BMAX[testament] && !finished; ++book) {
100
-				if ( !strcmp(newBook.toUtf8().constData(), books[testament][book].name ) ) {
100
+				if ( !strcmp(newBook.utf8().data(), books[testament][book].name ) ) {
101 101
 					Testament(testament+1);
102 102
 					Book(book+1);
103 103
 					finished = true;

Loading…
Cancel
Save