summaryrefslogtreecommitdiffstats
path: root/src/bookreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookreader.cpp')
-rw-r--r--src/bookreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookreader.cpp b/src/bookreader.cpp
index e436676..a765f69 100644
--- a/src/bookreader.cpp
+++ b/src/bookreader.cpp
@@ -304,7 +304,7 @@ void BookReader::optionsPreferences()
TQString curEncoding(encodings[Settings::defaultEncoding()]);
if (curEncoding.isEmpty())
- curEncoding = TQString::tqfromLatin1(KGlobal::locale()->encoding());
+ curEncoding = TQString::fromLatin1(KGlobal::locale()->encoding());
general->kcfg_DefaultEncoding->clear();
general->kcfg_DefaultEncoding->insertStringList(encodings);