summaryrefslogtreecommitdiffstats
path: root/kate/part/kateconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/kateconfig.cpp')
-rw-r--r--kate/part/kateconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/kateconfig.cpp b/kate/part/kateconfig.cpp
index 4b3c2f52b..3158f32db 100644
--- a/kate/part/kateconfig.cpp
+++ b/kate/part/kateconfig.cpp
@@ -422,7 +422,7 @@ TQTextCodec *KateDocumentConfig::codec ()
if (m_encodingSet || isGlobal())
{
if (m_encoding.isEmpty() && isGlobal())
- return KGlobal::charsets()->codecForName (TQString::fromLatin1(KGlobal::locale()->encoding()));
+ return KGlobal::charsets()->codecForName (TQString::tqfromLatin1(KGlobal::locale()->encoding()));
else if (m_encoding.isEmpty())
return s_global->codec ();
else