-rw-r--r-- | noncore/net/mail/opiemail.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp index 833cac2..0dede90 100644 --- a/noncore/net/mail/opiemail.cpp +++ b/noncore/net/mail/opiemail.cpp | |||
@@ -68,10 +68,11 @@ void OpieMail::slotSendQueued() | |||
68 | // } | 68 | // } |
69 | if (smtp) { | 69 | if (smtp) { |
70 | SMTPwrapper * wrap = new SMTPwrapper(settings); | 70 | SMTPwrapper * wrap = new SMTPwrapper(settings); |
71 | wrap->flushOutbox(smtp); | 71 | if ( wrap->flushOutbox(smtp) ) { |
72 | QMessageBox::information(0,tr("Info"),tr("Mail queue flushed")); | 72 | QMessageBox::information(0,tr("Info"),tr("Mail queue flushed")); |
73 | } | 73 | } |
74 | } | 74 | } |
75 | } | ||
75 | 76 | ||
76 | void OpieMail::slotSearchMails() | 77 | void OpieMail::slotSearchMails() |
77 | { | 78 | { |