-rw-r--r-- | kmicromail/libmailwrapper/imapwrapper.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kmicromail/libmailwrapper/imapwrapper.cpp b/kmicromail/libmailwrapper/imapwrapper.cpp index ca1c7f1..6faa524 100644 --- a/kmicromail/libmailwrapper/imapwrapper.cpp +++ b/kmicromail/libmailwrapper/imapwrapper.cpp | |||
@@ -255,5 +255,7 @@ void IMAPwrapper::listMessages(const QString&mailbox,QValueList<Opie::Core::OSma | |||
255 | } else { | 255 | } else { |
256 | } | 256 | } |
257 | 257 | ||
258 | Global::statusMessage(tr("Fetching header list")); | ||
259 | qApp->processEvents(); | ||
258 | /* the range has to start at 1!!! not with 0!!!! */ | 260 | /* the range has to start at 1!!! not with 0!!!! */ |
259 | set = mailimap_set_new_interval( 1, last ); | 261 | set = mailimap_set_new_interval( 1, last ); |
@@ -278,5 +280,5 @@ void IMAPwrapper::listMessages(const QString&mailbox,QValueList<Opie::Core::OSma | |||
278 | RecMail*m = parse_list_result(msg_att); | 280 | RecMail*m = parse_list_result(msg_att); |
279 | if (m) { | 281 | if (m) { |
280 | if ( maxSizeInKb == 0 || m->Msgsize()<=maxSizeInKb*1024 ) { | 282 | if ( maxSizeInKb == 0 || m->Msgsize()<=maxSizeInKb*1024 ) { |
281 | m->setNumber(i); | 283 | m->setNumber(i); |
282 | m->setMbox(mailbox); | 284 | m->setMbox(mailbox); |
@@ -313,4 +315,6 @@ QValueList<Opie::Core::OSmartPointer<Folder> >* IMAPwrapper::listFolders() | |||
313 | * it seems like ugly code. and yes - it is ugly code. but the best way. | 315 | * it seems like ugly code. and yes - it is ugly code. but the best way. |
314 | */ | 316 | */ |
317 | Global::statusMessage(tr("Fetching folder list")); | ||
318 | qApp->processEvents(); | ||
315 | QString temp; | 319 | QString temp; |
316 | mask = "INBOX" ; | 320 | mask = "INBOX" ; |