-rw-r--r-- | noncore/net/mail/composemail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index f532815..73d1a43 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp @@ -191,9 +191,9 @@ void ComposeMail::accept() mail->setMessage( txt ); AttachViewItem *it = (AttachViewItem *) attList->firstChild(); while ( it != NULL ) { mail->addAttachment( it->getAttachment() ); - it = (AttachViewItem *) it->itemBelow(); + it = (AttachViewItem *) it->nextSibling(); } SMTPwrapper wrapper( settings ); wrapper.sendMail( *mail,checkBoxLater->isChecked() ); |