author | alwin <alwin> | 2003-12-23 01:37:58 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-23 01:37:58 (UTC) |
commit | 04a7006c0392c02941e263d4d35edeeb2f98223d (patch) (side-by-side diff) | |
tree | b146f699fec46c2a2208fd91097952b6303ba2f8 | |
parent | be95b109fdd37e86b179bf63b15a647acc58a445 (diff) | |
download | opie-04a7006c0392c02941e263d4d35edeeb2f98223d.zip opie-04a7006c0392c02941e263d4d35edeeb2f98223d.tar.gz opie-04a7006c0392c02941e263d4d35edeeb2f98223d.tar.bz2 |
fix a problem while appending attachments to a new mail
-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 @@ -187,17 +187,17 @@ void ComposeMail::accept() if ( !sigMultiLine->text().isEmpty() ) { txt.append( "\n--\n" ); txt.append( sigMultiLine->text() ); } 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() ); QDialog::accept(); } |