summaryrefslogtreecommitdiffstats
path: root/kate/part/katespell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/katespell.cpp')
-rw-r--r--kate/part/katespell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/katespell.cpp b/kate/part/katespell.cpp
index 26134b9b2..6ce2b2a72 100644
--- a/kate/part/katespell.cpp
+++ b/kate/part/katespell.cpp
@@ -113,7 +113,7 @@ void KateSpell::spellcheck( const KateTextCursor &from, const KateTextCursor &to
<< "ISO 8859-9" << "ISO 8859-13" << "ISO 8859-15" << "UTF-8"
<< "KOI8-R" << "KOI8-U" << "CP1251" << "CP1255";
- int enc = ksEncodings.tqfindIndex( m_view->doc()->encoding() );
+ int enc = ksEncodings.findIndex( m_view->doc()->encoding() );
if ( enc > -1 )
{
ksc->setEncoding( enc );