author | zautrix <zautrix> | 2004-12-04 22:11:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-04 22:11:00 (UTC) |
commit | ac994c86c3037dbe2273e62c46115b942b09fdcc (patch) (side-by-side diff) | |
tree | 5c33da571f716ff91f300cf26ebf619d43a03fdc /kmicromail | |
parent | 9c7f3267a1d7db2dbc3bd6384e75cf8ffea1c3df (diff) | |
download | kdepimpi-ac994c86c3037dbe2273e62c46115b942b09fdcc.zip kdepimpi-ac994c86c3037dbe2273e62c46115b942b09fdcc.tar.gz kdepimpi-ac994c86c3037dbe2273e62c46115b942b09fdcc.tar.bz2 |
ompi fix
-rw-r--r-- | kmicromail/libmailwrapper/imapwrapper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/imapwrapper.cpp b/kmicromail/libmailwrapper/imapwrapper.cpp index da7065f..b890725 100644 --- a/kmicromail/libmailwrapper/imapwrapper.cpp +++ b/kmicromail/libmailwrapper/imapwrapper.cpp @@ -34,32 +34,34 @@ IMAPwrapper::~IMAPwrapper() int IMAPwrapper::selectMbox(const QString&mbox) { if (mbox == m_Lastmbox) { return MAILIMAP_NO_ERROR; } int err = mailimap_select( m_imap, (char*)mbox.latin1()); if ( err != MAILIMAP_NO_ERROR ) { m_Lastmbox = ""; return err; } m_Lastmbox = mbox; return err; } 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() static unsigned int last = 0; if ( last != current ) IMAPwrapper::progress(); last = current; } void IMAPwrapper::progress( QString m ) { static QString mProgrMess; if ( m != QString::null ) { mProgrMess = m; mCurrent = 1; return; |