author | zautrix <zautrix> | 2004-09-16 23:29:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-16 23:29:24 (UTC) |
commit | eebe4409884ccd4dedb7cb697a800f74b33eb292 (patch) (unidiff) | |
tree | cd0a235edcab08ee8512c738624dcebac9502749 /kmicromail/libmailwrapper | |
parent | af411746b1480e7b331ea7d163f39d2507cf7264 (diff) | |
download | kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.zip kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.gz kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.bz2 |
Fixes in ompi
-rw-r--r-- | kmicromail/libmailwrapper/abstractmail.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/abstractmail.cpp b/kmicromail/libmailwrapper/abstractmail.cpp index 88545f8..673f288 100644 --- a/kmicromail/libmailwrapper/abstractmail.cpp +++ b/kmicromail/libmailwrapper/abstractmail.cpp | |||
@@ -178,12 +178,13 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe | |||
178 | tr("Error while creating new folder\n%1\n\nCancelling action.").arg(lfName)); | 178 | tr("Error while creating new folder\n%1\n\nCancelling action.").arg(lfName)); |
179 | return; | 179 | return; |
180 | } | 180 | } |
181 | QValueList<RecMailP> t; | 181 | QValueList<RecMailP> t; |
182 | listMessages(fromFolder->getName(),t,acc->getMaxMailSize() ); | 182 | listMessages(fromFolder->getName(),t,acc->getMaxMailSize() ); |
183 | if ( t.count() == 0 ) { | 183 | if ( t.count() == 0 ) { |
184 | qDebug("There are no new messages %s", fromFolder->getName().latin1()); | ||
184 | Global::statusMessage(tr("There are no new messages")); | 185 | Global::statusMessage(tr("There are no new messages")); |
185 | return; | 186 | return; |
186 | } | 187 | } |
187 | QValueList<RecMailP> e; | 188 | QValueList<RecMailP> e; |
188 | targetMail->listMessages(lfName,e,acc->getMaxMailSize() ); | 189 | targetMail->listMessages(lfName,e,acc->getMaxMailSize() ); |
189 | //qDebug("target has mails %d ", e.count()); | 190 | //qDebug("target has mails %d ", e.count()); |
@@ -206,12 +207,13 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe | |||
206 | if ( !found ) { | 207 | if ( !found ) { |
207 | //qDebug("AAAdate *%s* ", r->isodate.latin1() ); | 208 | //qDebug("AAAdate *%s* ", r->isodate.latin1() ); |
208 | n.append( r ); | 209 | n.append( r ); |
209 | } | 210 | } |
210 | ++iii; | 211 | ++iii; |
211 | } | 212 | } |
213 | qDebug("Downloaded %d messages ",n.count() ); | ||
212 | if ( n.count() == 0 ) { | 214 | if ( n.count() == 0 ) { |
213 | Global::statusMessage(tr("There are no new messages")); | 215 | Global::statusMessage(tr("There are no new messages")); |
214 | return; | 216 | return; |
215 | } | 217 | } |
216 | mvcpMailList( n,lfName,targetMail,!acc->getLeaveOnServer()); | 218 | mvcpMailList( n,lfName,targetMail,!acc->getLeaveOnServer()); |
217 | Global::statusMessage(tr("Downloaded %1 messages").arg(n.count())); | 219 | Global::statusMessage(tr("Downloaded %1 messages").arg(n.count())); |