summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bibletime/frontend/mainindex/cindexitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bibletime/frontend/mainindex/cindexitem.cpp b/bibletime/frontend/mainindex/cindexitem.cpp
index 78594eb..12e89e0 100644
--- a/bibletime/frontend/mainindex/cindexitem.cpp
+++ b/bibletime/frontend/mainindex/cindexitem.cpp
@@ -1102,7 +1102,7 @@ const bool CBookmarkFolder::loadBookmarks( const TQString& filename ) {
if (file.open(IO_ReadOnly)) {
TQTextStream t;
t.setEncoding(TQTextStream::UnicodeUTF8); //set encoding before file is used for input!
- t.setDevice(TQT_TQIODEVICE(&file));
+ t.setDevice(&file);
xml = t.read();
file.close();
}