From 04a7006c0392c02941e263d4d35edeeb2f98223d Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 23 Dec 2003 01:37:58 +0000 Subject: fix a problem while appending attachments to a new mail --- (limited to 'noncore/net') 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 @@ -192,7 +192,7 @@ void ComposeMail::accept() AttachViewItem *it = (AttachViewItem *) attList->firstChild(); while ( it != NULL ) { mail->addAttachment( it->getAttachment() ); - it = (AttachViewItem *) it->itemBelow(); + it = (AttachViewItem *) it->nextSibling(); } SMTPwrapper wrapper( settings ); -- cgit v0.9.0.2