-rw-r--r-- | kmicromail/libmailwrapper/imapwrapper.cpp | 4 |
1 files changed, 4 insertions, 0 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,6 +255,8 @@ 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 ); |
260 | fetchType = mailimap_fetch_type_new_fetch_att_list_empty(); | 262 | fetchType = mailimap_fetch_type_new_fetch_att_list_empty(); |
@@ -312,6 +314,8 @@ QValueList<Opie::Core::OSmartPointer<Folder> >* IMAPwrapper::listFolders() | |||
312 | * We must not forget to filter them out in next loop! | 314 | * We must not forget to filter them out in next loop! |
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" ; |
317 | mailimap_mailbox_list *list; | 321 | mailimap_mailbox_list *list; |