-rw-r--r-- | noncore/net/mail/libmailwrapper/imapwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/imapwrapper.cpp b/noncore/net/mail/libmailwrapper/imapwrapper.cpp index 1c22c26..098dbdc 100644 --- a/noncore/net/mail/libmailwrapper/imapwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/imapwrapper.cpp | |||
@@ -157,7 +157,6 @@ void IMAPwrapper::listMessages(const QString&mailbox,QList<RecMail> &target ) | |||
157 | Global::statusMessage(tr("Mailbox has no mails")); | 157 | Global::statusMessage(tr("Mailbox has no mails")); |
158 | return; | 158 | return; |
159 | } else { | 159 | } else { |
160 | Global::statusMessage(tr("Mailbox has %1 mails").arg(last)); | ||
161 | } | 160 | } |
162 | 161 | ||
163 | /* the range has to start at 1!!! not with 0!!!! */ | 162 | /* the range has to start at 1!!! not with 0!!!! */ |
@@ -188,6 +187,7 @@ void IMAPwrapper::listMessages(const QString&mailbox,QList<RecMail> &target ) | |||
188 | target.append(m); | 187 | target.append(m); |
189 | } | 188 | } |
190 | } | 189 | } |
190 | Global::statusMessage(tr("Mailbox has %1 mails").arg(target.count())); | ||
191 | } else { | 191 | } else { |
192 | Global::statusMessage(tr("Error fetching headers: %1").arg(m_imap->imap_response)); | 192 | Global::statusMessage(tr("Error fetching headers: %1").arg(m_imap->imap_response)); |
193 | } | 193 | } |