Diffstat (limited to 'noncore/unsupported/mailit/emailhandler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/emailhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/unsupported/mailit/emailhandler.cpp b/noncore/unsupported/mailit/emailhandler.cpp index fbbada7..c7b27a0 100644 --- a/noncore/unsupported/mailit/emailhandler.cpp +++ b/noncore/unsupported/mailit/emailhandler.cpp | |||
@@ -38,8 +38,10 @@ Enclosure* EnclosureList::dupl(Enclosure *in) | |||
38 | } | 38 | } |
39 | 39 | ||
40 | EmailHandler::EmailHandler() | 40 | EmailHandler::EmailHandler() |
41 | { | 41 | { |
42 | qDebug("EMailHandler::EmailHandler"); | ||
43 | |||
42 | smtpClient = new SmtpClient(); | 44 | smtpClient = new SmtpClient(); |
43 | popClient = new PopClient(); | 45 | popClient = new PopClient(); |
44 | 46 | ||
45 | connect(smtpClient, SIGNAL(errorOccurred(int)), this, | 47 | connect(smtpClient, SIGNAL(errorOccurred(int)), this, |
@@ -114,8 +116,9 @@ void EmailHandler::getMailHeaders() | |||
114 | mailAccount.synchronize ? popClient->setSynchronize(mailAccount.lastServerMailCount): popClient->removeSynchronize(); | 116 | mailAccount.synchronize ? popClient->setSynchronize(mailAccount.lastServerMailCount): popClient->removeSynchronize(); |
115 | 117 | ||
116 | headers = TRUE; | 118 | headers = TRUE; |
117 | popClient->headersOnly(headers, mailAccount.syncLimit); //less than requested syncLimit, download all | 119 | popClient->headersOnly(headers, mailAccount.syncLimit); //less than requested syncLimit, download all |
120 | qDebug("Initiating connection"); | ||
118 | popClient->newConnection(mailAccount.popServer, 110); | 121 | popClient->newConnection(mailAccount.popServer, 110); |
119 | } | 122 | } |
120 | 123 | ||
121 | void EmailHandler::getMailByList(MailList *mailList) | 124 | void EmailHandler::getMailByList(MailList *mailList) |
@@ -625,4 +628,5 @@ void EmailHandler::cancel() | |||
625 | { | 628 | { |
626 | popClient->errorHandling(ErrCancel); | 629 | popClient->errorHandling(ErrCancel); |
627 | smtpClient->errorHandling(ErrCancel); | 630 | smtpClient->errorHandling(ErrCancel); |
628 | } | 631 | } |
632 | |||