diff options
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r-- | kmail/kmcomposewin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp index fe145b827..636da6d37 100644 --- a/kmail/kmcomposewin.cpp +++ b/kmail/kmcomposewin.cpp @@ -2821,7 +2821,7 @@ void KMComposeWin::slotAttachFileResult(TDEIO::Job *job) partCharset = TQCString( ( *it ).url.fileEncoding().latin1() ); } else { EncodingDetector ed; - KLocale *loc = TDEGlobal::locale(); + TDELocale *loc = TDEGlobal::locale(); ed.setAutoDetectLanguage( EncodingDetector::scriptForLanguageCode ( loc->language() ) ); ed.analyze( (*it).data ); partCharset = ed.encoding(); |