summaryrefslogtreecommitdiffstats
path: root/kmail/popaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/popaccount.cpp')
-rw-r--r--kmail/popaccount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/popaccount.cpp b/kmail/popaccount.cpp
index 97ec2b6c3..eb852cba2 100644
--- a/kmail/popaccount.cpp
+++ b/kmail/popaccount.cpp
@@ -102,7 +102,7 @@ TQString PopAccount::type(void) const
}
TQString PopAccount::protocol() const {
- return useSSL() ? POP_SSL_PROTOCOL : POP_PROTOCOL;
+ return useTLS() ? POP_SSL_PROTOCOL : POP_PROTOCOL;
}
unsigned short int PopAccount::defaultPort() const {
@@ -403,7 +403,7 @@ void PopAccount::startJob()
escapedName,
i18n("Preparing transmission from \"%1\"...").arg( escapedName ),
true, // can be canceled
- useSSL() || useTLS() );
+ useSTARTTLS() || useTLS() );
connect( mMailCheckProgressItem, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ),
this, TQ_SLOT( slotAbortRequested() ) );