summaryrefslogtreecommitdiffstats
path: root/kmail/searchjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/searchjob.cpp')
-rw-r--r--kmail/searchjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/searchjob.cpp b/kmail/searchjob.cpp
index 7b0b55584..bcbd4acde 100644
--- a/kmail/searchjob.cpp
+++ b/kmail/searchjob.cpp
@@ -269,7 +269,7 @@ void SearchJob::slotSearchFolder()
i18n("Downloading emails from IMAP server"),
i18n( "URL: %1" ).arg( TQStyleSheet::escape( mFolder->folder()->prettyURL() ) ),
true,
- mAccount->useSSL() || mAccount->useTLS() );
+ mAccount->useSTARTTLS() || mAccount->useTLS() );
mProgress->setTotalItems( numMsgs );
connect ( mProgress, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem*)),
this, TQ_SLOT( slotAbortSearch( KPIM::ProgressItem* ) ) );