summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:19:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:19:44 -0600
commit6dea9442526e5ebacf313ad387c7dff4b87a53bf (patch)
treed400e34cbe644bd98c7f0d08e2e83b43597dd3ee /kmail/kmcomposewin.cpp
parent339bb51ad3721e188a57c529828a55400213ff70 (diff)
downloadtdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.tar.gz
tdepim-6dea9442526e5ebacf313ad387c7dff4b87a53bf.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp2
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();