summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/imapwrapper.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/libmailwrapper/imapwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/imapwrapper.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kmicromail/libmailwrapper/imapwrapper.cpp b/kmicromail/libmailwrapper/imapwrapper.cpp
index 09e52b8..4f0c849 100644
--- a/kmicromail/libmailwrapper/imapwrapper.cpp
+++ b/kmicromail/libmailwrapper/imapwrapper.cpp
@@ -46,9 +46,8 @@ int IMAPwrapper::selectMbox(const QString&mbox)
}
void IMAPwrapper::imap_progress( size_t current, size_t maximum )
{
- qApp->processEvents();
return;
//qDebug("imap progress %d of %d ",current,maximum );
//Global::statusMessage(i18n("Downloading message %1 of %2").arg( current).arg(maximum));
//qApp->processEvents()
@@ -157,9 +156,8 @@ void IMAPwrapper::login(bool tryTLS) // = true)
} else {
user = account->getUser();
pass = account->getPassword();
}
-
m_imap = mailimap_new( 20, &imap_progress );
/* connect */
bool ssl = false;
@@ -173,11 +171,11 @@ void IMAPwrapper::login(bool tryTLS) // = true)
force_tls = true;
}
if ( ssl ) {
- qDebug("using ssl ");
+ //qDebug("using ssl ");
err = mailimap_ssl_connect( m_imap, (char*)server.latin1(), port );
- qDebug("back ");
+ //qDebug("back ");
} else {
err = mailimap_socket_connect( m_imap, (char*)server.latin1(), port );
}