summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-10 06:12:58 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-10 06:12:58 +0000
commit75ebad37bc3cfdb65bb8542dd847683e883c8b55 (patch)
tree4c47f780a0453b663643de663687729d46129434
parent9ba35d28aeff1c2d7995a9a86f765ebbe06db016 (diff)
downloadbibletime-75ebad37.tar.gz
bibletime-75ebad37.zip
Fix old Sword API FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173695 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--bibletime/backend/cswordversekey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bibletime/backend/cswordversekey.cpp b/bibletime/backend/cswordversekey.cpp
index 3687241..4a017dc 100644
--- a/bibletime/backend/cswordversekey.cpp
+++ b/bibletime/backend/cswordversekey.cpp
@@ -97,7 +97,7 @@ const QString CSwordVerseKey::book( const QString& newBook ) {
for (int testament = min; testament <= max && !finished; ++testament) {
for (int book = 0; book < BMAX[testament] && !finished; ++book) {
- if ( !strcmp(newBook.toUtf8().constData(), books[testament][book].name ) ) {
+ if ( !strcmp(newBook.utf8().data(), books[testament][book].name ) ) {
Testament(testament+1);
Book(book+1);
finished = true;